How to get over mental block?

I have been trying to solve problems from 6 months.
My problem is whenever I start with a coding problem, I can think of a solution and try to implement it. But after some time I feel like I'm mentally blocked and cannot think further.
How to get over this block and try to think further towards a solution?
Hope I could explain my problem.

Comments (2)