Could be an abscess. I would have your doctor look at it. My son had one of those and had to make a trip to the emergency room to have it lanced. They can be caused a plugged anal gland.(don't worry... if it turns out to be an abscess, they'll use some lidocaine or xylocaine to numb you so you won't feel anything)