Treating the underlying cause of pericardial effusion often corrects the problem. Treatment can include:  Medicines. Draining the fluid. Surgery.