Endocarditis is an inflammation of the inner lining of the heart. It is usually caused by bacteria or fungi entering the bloodstream. Common symptoms include fever, fatigue, heart murmur, joint pain, and skin spots on the palms or soles. Diagnosis involves blood tests, echocardiograms, and blood cultures. Treatment consists of long-term antibiotics and sometimes surgery to repair or replace damaged heart valves.