What happens if there is an infection in the pericardium?

Pericarditis. We call it pericarditis. It can be due to viral, bacterial, idiopathic, uremic, or post - infarction. Need specific treatment depending upon the cause!
Complication. Needs to be treated with antibiotics. Sometimes fluid can accumulate in the pericardium at dangerous levels and cause pericardial tamponade. Some times, this fluid needs to be drained for diagnostic and or therapeutic purposes. If the infection is tuberculosis, the pericardium needs to be biopsied.