Pericardiocentesis is a procedure to remove fluid that has built up in the sac around the heart. The fluid is drained with a needle and flexible tube (catheter).