Hello from JustAnswer.
In someone having stomach issues requiring Protonix, we would typically prefer to avoid aspirin and anti-inflammatory medicines, such as ibuprofen or naproxen. So, it is preferable to use acetaminophen as the over the counter pain medicine. If that is ineffective and the stomach is well controlled with the Protonix, then a short course of an anti-inflammatory medicine may be used, but we would prefer to use the shortest course that will control the pain.
Stronger pain medicines, such as an opiate combined with acetaminophen are also options, but would require a prescription, so would also require seeing your doctor.
It is fine to use these medicines with the local care that you are using, and it also may help to alternate between ice packs and moist heat.
The elevated blood pressure is at a dangerous level. The usual recommendation is that someone with a blood pressure over 180/110 should be checked emergently. It is also true that acute pain can increase the blood pressure, so easing the pain may also allow for the blood pressure to improve, so it would be acceptable to try a medicine for pain and see if the blood pressure improves quickly. However, if the blood pressure remains at this level, it would be appropriate to be seen emergently, regardless of the severity of the pain.
If I can provide any additional information, please let me know.