Help!

So I’ve had my ears pierced for over 10 years and this has never happened before. I take my earrings out before I go to bed and my other ear is fine so it can’t be the actual earring. Does anyone know what this is or how to treat it? Is it infected?