I have been lying in bed for a few hours now, and I just can’t get to sleep. While pain is part of the reason why the main reason is just that I can’t turn off my brain. I just took some melatonin I really hope that helps.