Gastritis might get worse if you take over-the-counter pain medication, so try to avoid it if you can.