Sex hurts after 10 minutes

After about 10 minutes or so, my vagina starts to really hurt and I have to stop. It feels good up to that point though. What should I do?