I am sorry for your symptoms/insomnia.
Insomnia is a known side effect of Sertraline.
The first step is to start taking it in the daytime. See if that helps you with the sleep issue. If it does not, it may also be due to primary issues like depression for which it may have been started.
So insomnia in your case may be due to;
b) Primary issue
Cognitive-behavioral therapy (CBT) is considered the most appropriate treatment for patients with insomnia and depression/anxiety. The components of CBT are;
1) Sleep hygiene education
2) Cognitive therapy
3) Relaxation therapy
4) Stimulus-control therapy
5) Sleep-restriction therapy.
Physical illness is uncommon with the sleep issue. An off and on sleeplessness need to dig the cause for underlying anxiety, depression, or another related issue. A thorough evaluation by history is done to reach a conclusion. Accordingly, medical treatment is commenced. The precipitating factors can be;
3) sleep-wake schedule changes,
5) other sleep disorders,
6) medical conditions
7) work-related issues
8) family problem,
9) health events.
All these in isolation or in combination play problems in sleep issues. Good sleep cycle, handling the specific problem, counseling, cognitive-behavioral therapy, medications are employed for the treatment.
If you think it is medication, you may ask your doctor to withdraw it and start another medication.
Please feel free for your follow up questions.
I would be happy to assist you further if you need any more information.
Thanks for using Just Answer.