Insomnia is terrible. And definitely can leave you fatigued. Things that help me with it are physical activity on a regular basis during the day, good sleep habits like a regular schedule of going to bed, white noise like a fan, a cool and dark room, not eating or drinking too much before bed. Sleep aids are helpful short term for some but I've always tried to stay away from that. So, your doctor prescribed you something. Have you ever considered melatonin?