Whether it be to do your job, get your schoolwork done, clean your house, work on your creative passion, etc.
Bonus points if you’re someone without reasonable self-control so saying something like “I can only have a cookie after I do this/while I do this” doesn’t work for you and you’re just going to eat the cookie and not do it.
Force yourself to do it… for five minutes.
If you still don’t like doing it after five minutes, give yourself permission to stop.
This works very well for me. It certainly helped me get past the notion that I needed motivation before doing something.
I prefer to want to do a thing before doing it, but I don’t have to.