Go through these in order and stop at the first one that applies. If you are reading this for someone else, answer for them.
If you are in immediate danger, contact local emergency services.
Seek urgent medical help if a sudden sexual change occurs with new leg weakness, loss of genital sensation, severe back pain, or loss of bladder or bowel control.
These can be signs of serious nerve compression.
Prompt care is also appropriate for severe pelvic pain, heavy or unexplained bleeding, or symptoms after an injury.
If sexual contact happened without consent, you can seek urgent medical care and specialist support even if there are no visible injuries.
Arrange a routine appointment if orgasmic difficulty is persistent, bothers you, affects a relationship, or began after a medicine change, illness, operation, childbirth, or menopause.
Routine assessment is also appropriate for pain during sex, vaginal dryness, reduced sensation, low mood, or other changes in sexual function.
The article also says
Orgasmic dysfunction by itself is not an emergency.
Every sign above is quoted from the sofidex article on Orgasmic dysfunction in women. If you are not sure, err upward — it is always reasonable to be checked.