Most of the time, it is not necessary to take antibiotics after an endodontic treatment. If your dentist deems it necessary, then they will prescribe antibiotics for you. This will ultimately depend on your medical history and whether or not you have preexisting conditions that make you more likely to develop an infection.