Other than allergy
, possibly it may be due to an Hrepes type I infection. Recurrence is common. It is a self limiting disease and will heal spontaneously within two weeks. So don't worry. If it hurts you very much then you can take specific anti herpetic treatment after consulting you physician and that will reduce your pain and swelling and shortens the course. Have a fast cure.