If it's puntual:
What usually works for me is, to step away a bit from whatever I'm unmotivated of. If it's work you're unmotivated with, it can be hard. But if you can, step away for a little bit, take a walk, go to the beach, exercise, learn something new, and treat yourself to pizza and a film or whatever your pleasures might be.
If it's recurring:
Maybe consider a change, you might want to move on to something new which motivates you more. And if the issue still persists, it might be a syptom of some kind of health issue (I'm no health profesional so don't take my word on this).
Prioritize your health over anything else, thatps what's important in the end!
I hope you re-gain motivation! And remember you're not alone!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If it's puntual:
What usually works for me is, to step away a bit from whatever I'm unmotivated of. If it's work you're unmotivated with, it can be hard. But if you can, step away for a little bit, take a walk, go to the beach, exercise, learn something new, and treat yourself to pizza and a film or whatever your pleasures might be.
If it's recurring:
Maybe consider a change, you might want to move on to something new which motivates you more. And if the issue still persists, it might be a syptom of some kind of health issue (I'm no health profesional so don't take my word on this).
Prioritize your health over anything else, thatps what's important in the end!
I hope you re-gain motivation! And remember you're not alone!