Dyspareunia refers to genital pain usually during penetrative sex or intercourse. Men and women can both be diagnosed with dysparuenia. The clinical diagnosis of dyspareunia can include pain that happens immediately before or after intercourse as well.
Dysparuenia is a descriptive diagnosis, and doesnt indicate anything about the cause or even the precise symptoms of the pain (so it could be sharp or dull pain, brief or long lasting). It is really just another way of saying there is pain during sex. But it will be called dysparuenia when there is no clear anatomical, physiological, or pharmaceutical cause of the pain.

