Since you are 84, First get ECG done to rule out any heart ailment. If the pain increases on inspiration cause may be related to your ribs and muscle. For this you can apply Heat Pads and rest. You can also try taking Ibuprofen
200mg tab when you have severe pain
. but get yourself examined first, considering your age.