I think it's probably best to seek professional help if one doesn't find comfort talking with relatives about this. But here are my 2 cents:
I think everyone has ups and downs. Sometimes playing some games or watching mindless shit on TV is fine for a week. I am sure that for most it will get better by then.
After a short time off, I usually get the spirit of creating or learning something new again, and I get back into my rhythm. Just remember that your energy source is not infinite..
However, sometimes this isn't always enough. Sometimes you just need to give time to other things in life, as those are equally important.
From personal experience, I did learn a few dangers in being "busy" with engineering all the time.
Look, a doctor/psychologist will probably say that finding distractions is good while feeling a bit down or bored. And I agree.. But it can also mean that other things in life won't get any progress. These can be things in social life, maybe moving out, or processing emotions from the past. Sometimes it can take some digging to get to the roots of your desires and feelings, and what is stopping you in living up to that, especially if you're busy all the time
. Now I'm not saying that this is the case for you; but that can be hard to judge, even on your self. This is where a psychologist and talking can help out, but I can imagine this could be a bit of step.
Furthermore, don't put all your eggs in 1 basket! During my early 20s, I used to be doing electronics & software all day; for my education, at home, etc. In college I was doing great, I felt like I was 2 steps ahead of most classmates. But when you forcibly need to pause your hobbies for a while, the constant busy-work made room for a very apparent large void.
That's why I would advise to try develop other interests or activities. Not just as a distraction now (as mentioned), but also long-term. It's all about balance. Try to find a sport you can pick up and find enjoyable. Go out for a (long) walk everyday.
Look around in nature; e.g. I personally like amateur photography (just using my smartphone), because it really forces you to think about what you see. Pick up reading books, or try writing poetry. Listen to new music that you can fully enjoy. Go visit a concert. Etcetera.
There are so many things to do without touching a soldering iron or a piece of code.
Despite being a perfectionist, I feel like things outside of engineering have to be much less perfect, which makes things much simpler