How to make sex for good?

Me and my boyfriend had sex and he had a good time but I was felt sore and I didn't enjoy it. What can he do to make it feel better. Is the maybe a position to do or should aim for certain spot?

Any suggestions will help