It's probably a canker sore. Nothing really can be done for it, other than applying some over the counter ointments to numb the pain temporarily. Should go away in a few days, but watch it carefully ; if it starts getting infected then you need to see a doc for antibiotics.