G-Spot/Cervix

So I'm new to sex. I can't tell if my guy is hitting my G-spot or Cervix. Does it hurt at all when your g-spot is hit? Like it kinda hurts good which I assume it wouldn't be my cervix, but I thought g-spot was suppose to only feel good