Raw lips and gums
It's possible you may a viral infection called acute herpetic gingivostomatitis.
This causes acute, painful ulcerations of the lips and gums. As with any viral infection, it runs it's course in 7-10 days.
You should see your dentist for a definitive diagnosis, and for suggestions on how to treat the ulcers and control any pain.