if you drink a lot of caffeine that can throw your sleep off, and alcohol will do it too.
melatonin will give you wild dreams but does knock you out. I had to lay off that stuff years ago from the weird dreams.
I have found the more chemicals you take in it will just screw your natural body clock up more.