You say "I loose all my motivation and the fact to go to work is a really nightmare." However, you don't seem to have gone any further with your train of thought: why are you losing motivation? In a new job, everything is shiny and new and unknown, and it's natural for that to fade over time and leave you with a less rosy view of your job - but that shouldn't always mean that you don't enjoy it at all.
You need to stop and ask yourself honestly: What is it about your office, team, project or other that makes you not want to go to work? The answer is not "I just don't like it" - you need to understand what it is that you don't like.
Once you've clearly identified those things, work out what an improvement in those things would look like. If you don't like the technology being used, perhaps bringing newer technology to your project would help. If you don't like the commute, is that because of the distance, or the particular time that you commute?
Once you know how you would like things to change, work out how you can begin to affect that change: see if you can propose a useful new technology, or see if you can change your working hours to make your commute easier. Whatever the problem is, be proactive in finding a solution.
If you really find that you can't solve these problems in your current role, then find a new role - but be aware of any of these things that might affect it once the shine wears off.