hi paula, welcome to Healthcare Magic forum,
yes it can be allergy
to the medication. first of all stop the antibiotic if not required. it should subside in few days time. drink plenty of water & fruitjuices. for pain can use zytee gel for local application for your mouth ulcer
. it should improve in few days time.