Hi..
Welcome to HEALTHCARE MAGIC..
I have gone through your query and can understand your concerns..
As per your complain there is a that possibility that the nail has got deeply impacted in your gum and now acting as a source of infection and inflammation leading to pain and swelling.
There is a also a possibility that the gum flap has inflamed leading to
Pericoronitis and it occurs due to infection caused by food accumulation between the gum flap and wisdom tooth..
I would suggest you to consult an Oral Physician and get evaluated and a thorough clinical evaluation and if needed
x ray can help in diagnosis and treatment can be done accordingly..
You can be advised a course of antibiotics, anti inflammatory painkillers like
Ibuprofen..
Doing warm saline gargles and antiseptic mouthwash gargles can help..
As of now you can take higher painkiller like
Ketorolac and do warm saline gargles..
Hope this information helps..
Thanks and regards.
Dr.Honey Nandwani Arora.