If you lost your virginity recently it will hurt for a little bit whilst having sex as you're vagina is still pretty tight and not adjusted to being stretched. Try lubricants to help make it more comfortable for you to have sex.
Is the guy too big? that can be painful. Do you get wry enough? You can try different lubricants. Or try masturbating, you can figure out what feels good for yourself and try it with your partner