There are probably more questions that answers...for example, do you drink coffee or cafeinated drinks before going to bed? Do you eat late or heavy at night? When you say you wake up at night, is it to use the toilet, then you find it hard to fall asleep afterwards? Are you anxious about anything? Do you have a history of anxiety or any other mental health concern? Looking for a quick magic pill may nit always be the answer, but like many have suggested if it works for you, then you're alright. However, if you have mental health challenges, then counselling may be advised.
Welcome to Anabolex and Goodluck.