Answer :
I struggle with this a bit too
what I do, is when I'm really not feeling like doing it, I'll reward myself for doing it anyway. reward yourself by doing something you love!
An example: I reaaaaallllyyyy didnt want to do my spanish work, so after I did, I gave myself some time with my cat as a reward
i hope this helps!
another thing, is to try to make it a habit