First, your dentist will ask questions about the nature of the heart condition, including any medications and procedural history. After reviewing this information and potentially coordinating with your medical doctor, the dentist may prescribe you an antibiotic before the procedure to lower their risk of developing a heart infection known as infective endocarditis.