difficulty sleeping

Recently have been having relationship issues with my SO, and due to my attachment I can't seem to get myself to sleep without him next to me. 
I've tried everything ,melitonin , Benadryl, besides drinking alcohol and smoking pot. Is there anything else that helps you guys sleep as night ?
I've been awake since 3am with anxiety and can't seem to fall back to sleep. 
Any advice would be greatly appreciated.