However, you should not take a selective COX-2 inhibitor if you have a cardiovascular disease such as angina, heart attack (myocardial infarction), stroke, peripheral arterial disease, etc.Cardiovascular problemsStudies have shown that people who take anti-inflammatory painkillers have a small but significant increase in the risk of developing a heart attack or stroke.