Hi welcome to HCMForum. The swelling could be due to hitthng some thing or injury
or a bite lastly paronichia.
I advise you to consult a surgeon for diagnosis and treatment. It may burst by it self or may require incision.
Besides i advise you some diet restrictions as dont take pulses potato and fish. wishing for a quick recovery.