Most cases of endocarditis can be treated with a course of antibiotics. You'll usually have to be admitted to hospital so the antibiotics can be given through a drip in your arm (intravenously). While you're in hospital, regular blood samples will be taken to see how well the treatment is working.