I take melatonin supplements, become disoriented, urinate everywhere, how to prevent this?

Male, 29, I sometimes have awaken in the middle of the night and urinated in a different area as I was dissertated..Initially I thought maybe this had something to do with alcohol but that didn’t seem to be it. I continue to consume on occasion and no further episodes. I have never been a sound sleeper and usually have disruptive sleep patterns..I have since been using melatonin supplements before bed more regularly and no episodes. Is it ok to use the melatonin to allow me to have a more restful sleep? I do not want to take prescription drugs if I can prevent it. Thank you.

This Question Is Open to Answers -Post Your Comment Below