Headache all day

At what point should you go to labor and delivery to get looked at if you’ve had a headache that isn’t going away with Tylenol fluids or rest?