This kind of pain after sex often comes from skin irritation or dryness, though sometimes it needs a closer look to rule out something else.
Next Steps
Please see a gynaecologist for an examination, since this needs to be actually seen rather than guessed at from a description.
Health Tips
Meanwhile, avoid scented soaps or tight synthetic underwear, which can make irritation worse.