First time

So I had sex for the first time but it was so painful. Everyone has told me it’s going to hurt and then start to feel better. I never started to feel any relief it just was super painful the whole time. Has this happened to anyone else? Any one have any ideas on what to do?