Hurting while having sex??

Okay while me and my partner were having sex he started to go deeper but then it was hurting and there was lots of pressure down there . A little bit after he started to go harder and faster but I couldn't handle it because I was just in pain. Is there any reason why when he goes deeper , faster and harder it hurts me?