Trouble Sleeping

I've slept using a Bi-Pap machine (which is a C-Pap but with two different pressures) for about 12 years. Most of the time I sleep with no problem. But i have had issues with sleeping through the night sometimes. When this happens I'll take one Melatonin or a small dose of Z-Quill, This usually does it for me.