Belly ring got infected and fell off on its own? Please help!?

I got my belly piercing in July I took care of it but probably not as I should of. I changed it after 4 weeks because I felt that it looked pretty good, once I took it out everything was fine but then after that I started having problems, it kept getting swollen and at times painful. Sometimes it was really irritated. Last week I noticed the skin near the belly ring got very thin, it got so thin to the point where it seemed that the belly would fall off because the skin was not tick enough to keep it in. It fell off on its own. Its been about a week now I clean it about 3 times a day, seems like the skin is healing pretty good and I am dying to get it done again, except this time I will follow the rules with the aftercare. What do you think happened here?