Naproxen

I’m almost 29 weeks & my back is absolutely killing me. I just noticed I’m out of Tylenol but I have some naproxen. Is it okay to just take one for the night ?