Sex positions

I can’t take it from the back and I don’t understand why. I recently got a new sex partner. When we do doggy or anything like that it hurts. I’ve never had this problem till now. Why is this happening?