It hurts sometimes when having sex

Sometimes when i have sex from the back, it hurts a bit or sometimes when we have sex in general. Also, when he does it hard and fast. Is it because he might be too big for me? Sometimes he isnt as hard as other times. I hope this makes sense lol