Welcome to Healthcare Magic
Yes. Could be gland/follicle obstruction which caused infection as well contributing to the pain and swelling. Avoid touching or prodding at it. Do not insert anything in the ear. You may take pain killers under medical supervision if persistent pain is there. It is called Furuncle
. You can apply antibiotic ointment for 4-5 days for treatment but it is recommended you consult an ENT Surgeon for best advice.