Nipple piercing problem

I’ve had my nipples pierced almost 2 years now with no issue. Recently one of my nipples didn’t take well to these skull piercings I had in. I had them in for about 5 months with no issue until 2 weeks ago I noticed my nipple was swelling up around it. So I purchased new ones and removed them. But my right nipple developed a deep big hole and had a hard yellow/whitish ball inside. I removed it and idk what it is?? Now there’s a deep hole next to my piercing?? What does this mean?