Some treatments for pericarditis include drugs to ease the inflammation and pain of the disorder, according to Cleveland Clinic. These drugs may include large doses of nonsteroidal anti-inflammatory drugs such as ibuprofen. A doctor may also prescribe antibiotics or antifungal medications, depending on the cause of the pericarditis.
If the pericarditis doesn't respond to treatment, the physician may prescribe a stronger drug, such as colchicine, explains Cleveland Clinic. Patients take this anti-inflammatory medication with the ibuprofen, and it prevents the pericarditis from recurring. Most patients respond well to the drugs, but if fluid builds up around the sac that encloses the heart, the doctor may need to perform a pericardiocentesis or a pericardial window to remove the fluid.