Sleeping problems

Can someones please tell me why cant i sleep at night, i have around 3 hours sleep, wake up and i cant manage to get back to sleep, ive been struggling for few months now but its getting worse, i have a toddler to look after and i work part time and later in day i have 0 energy, is there anything that i could possibly do or take that is safe while pregnant