"Do you have any tips on how to push trough those diffcult moments mentally ?"
Depends on the problem.
A conceptual art problem is completely different than a technical one.
Technical problems I map out exactly what I want to have happen and then map out what has to structurally occur for that to happen. So if its a game I will create another game that only has that problem and prototype out the solution for only that problem- then when built and solved move it into my main project.
For example I wanted characters to sit around a campfire in 2d, with the campfire casting light and shadows.
mapped:
fire object>> contains a light emitting object>> other objects are lit or shadowed based on radius and strength of light
So I saw how some others did something similar, then I investigated some plugins. Instead I went my own direction and created a 2d light that used an animated sprite as the texture and this gave me the exact effect I wanted.
I am a huge fan of mindmaps for this.
For an art problem I look at how other people have done something similar. Movies, books, cartoons, photos, games- when I have a vision solidify I do a series of quick sketches and then start creating mockups. When I have mockups I like I then try to pass them onto an artist to finish as I am not good at cgi art.
But many times the solution comes when I am asleep or talking just with friends- in other words many times I solve the problem into my head and let my subconcious chew on it. Meanwhile I will map out exactly what I need to happen and find an example that does something similar or post as detailed as possible map of my problem and ask for solution.