Heartburn/Reflux Meds

Cr
Does anyone know if you can take Prilosec? I have got to get some relief from this reflux and that's all I have! I can't sleep at night, because it's so bad.