Doggy style

it was the first time I had did the position. I arched my back and when put it in and started to stroke it hurt. is it supposed to hurt? is there something I can do better next time?