If complications happen, you may need other medical procedures or surgery. Talk to your health care provider to learn more about treatment for pericarditis.