I would try the aspirin first and see what happens. Make sure it is "aspirin" not ibuprofrin as the effect would not be the same. Being that asprin does thin the blood, and thus letting the blood flow easier(hence removing your headache) it should be easier on the heart. Also if you take traqulizers or muscle relaxers it will effect all of you not just your heart.

I am not a doctor, just offering food for thought