Peripartum cardiomyopathy (PPCM) occurs when the heart muscle becomes weakened towards the end of pregnancy or in the months after giving birth. PPCM can lead to symptoms of heart failure, including shortness of breath, leg swelling, and fatigue. PPCM is usually diagnosed with an echocardiogram, which can show that the heart function, or ejection fraction, is low. Medications can help the heart get stronger over time. For many people with PPCM, their heart function will improve.