Pericarditis is inflammation that occur in the heart wall known as pericardium.
Normally pericarditis is treated with NSAIDS (non-steroidal antiinflammatory drugs like ibuprofen).
However in case of pericarditis developing after a myocardial infarction (heart attack) NSAIDS are not used for treatment as there may be risk of aneurysm formation and rupture of heart muscle, during the initial phase of recovery after a myocardial infarction.
Henceforth, opiate based drugs may be used to treat pericarditis developing after myocardial infarction.
Pericarditis that develop following a myocardial infarction generally tend to occur after 1 or 2 days after the latter. Patients with possible pericarditis might complain of chest pain that increases in certain body positions and/or on inspiration.