I've had really bad insomnia for the past few months - mainly because I've been suffering from a heartbreak (what a jacka$$ he was

), been thinking way too much and of course my hours are a bit odd since I don't work as a regular employee.
Any suggestions to cure insomnia?