Hello and hope you are doing well.
It could be a temporary phase. Try to follow good sleep hygiene measures like going to bed at the same time, waking up at the same time, avoidance of alcohol, smoking and caffeinated beverages. Maintain warm, comfortable bedroom environment and engage in relaxing activities like a warm bath before bed time. Also, avoid daytime naps and do exercise in the daytime this promotes good sleep. Please consult your primary care physician if problem persists to rule out a sleep disorder.
Hope this helped and do keep us posted.
Yeah, melatonin isn't usually used for insomnia because it doesn't work very well. Also, try to avoid taking naps during the day which will only perpetuate your insomnia at night.
A Harvard study in 2004 demonstrated medications are not the best treatment for insomnia, but rather Cognitive Behavioral Therapy for Insomnia (CBTi) is better. CBTi is safe in the long term, is less expensive, has no side effects, and treats insomnia at the root cause instead of just trying to "knock someone out" like medications do. If you go see a sleep doctor in person, CBTi is what they will recommend. Alternatively, online programs have been found to be equally effective and less expensive.
Rest well!
Have you seen a doctor to figure out what is causing this?
You haven't stated your age, so that makes it more difficult to determine what it could possibly be.
If you suffer from depression or anxiety that could be the cause.
Certain vitamins, or rather lack of, can cause problems like this.
I suggest seeing your doctor and having some blood work done.