Insomnia

I have really bad insomnia and it gets to the point where I'm up until 4:00 am. I'm going to bed at 10:00 pm, turning my phone and all the lights off but it doesn't work. I have tried the nice hot bath, warm drink, perfect room temperature and relaxing music stuff but it never works! How can I stop this without having to go see a doctor or my GP?