The answer is no. The antibiotics will help to reduce swelling, but it is temporary. In this case the endodontic treatment is necessary to remove the infected pulp. You would not be put off visiting the dentist because it is likely to miss the chance to save your tooth and it will be too late