A procedure to seal the layers of the pericardium can also prevent pericardial effusion from happening again. This procedure is called intrapericardial sclerosis. A solution is injected into the space between the layers of pericardial tissue to seal the layers together.