Hi , the important thing is to understand that your tooth is paining or that you have hurt your cheek and have an ulcer there that is paining , in both condition you will have pain while biting and chewing , intelligent thing would be to visit a nearby dentist who can observe clinically and let you know
Next Steps
Visit the dentist instead of bearing the pain
Health Tips
Please do not self medicate