Treatment for pericardial effusion depends on many factors, including:  How much fluid has built up. The cause of the disorder. How well the heart is working.