Is sex for the first time painful?

I am a virgin, who is in a relationship and wondering about sex. I am quite nervous when thinking about myself doing it. I would like to know peoples opinions on whether or not sex is painful, (I know I'd probably depends on the person) and/or if I can do anything to minimize the pain if I experience it?