ass hurts after anal sex

My ass has been hurting for a few days now and when i touch back there its like a ball or skin or something popping out and it wasnt like that before. it hurts when i touch it back there and mostly when i pass a stool what could this possibly be???