<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, my foot is swollen and it hurts. I dont know whats wrong.  <response>: Based on what youre telling me, it sounds like you may have paronychia. It is an infection around the nail bed that can cause swelling and pain in the affected area. 