If antibiotic prophylaxis is inadvertently not taken before the dental procedure, it can be taken up to 2 hours after the procedure.