I think you must consult a specialist. If it has been happening for a long time, it can even turn a big problem ahead! Having disturbed sleeping patterns seems and sound a really small thing but in reality, I ignored for a long time, can be highly dangerous as well! And causes a lot of damage at an individual level. Irritated personality can affect your relationships with other and it can soon be starting to affect your work life, as well! Anyway, it is not healthy for the body. Sooner or later your body will start to give up. I would suggest you if you have any stress or problems going on in life, then this can be an effect of that. Even if not, then try to stay positive and remain happy. Being positive attracts good vibes and your body starts to feel healthy by just being tricked into being happy! You would see it for yourself. I know it might seem easy said than done, but no prescribed medicine is going to be as effective as feeling happy from within will! You can even try some home remedies for inducing sleep. There are a few essential oil sprays that help with the same. Try spraying tea tree oil around you as you are planning on sleeping. Take a bath before you sleep and probably even go for a run after having your dinner. But most of all, you need to visit a doctor and discuss with him your sleeping issues. I hope you stay alright. Take care.