Note: Most resources about sexual pain assume that the person with pain is cisgender (ie. not trans, gender diverse or non-binary) and heterosexual. This limits the information and can alienate people with diverse genders, bodies and sexualities. My hope is that people can take what is useful and relevant for them from the resources below.
When Sex Hurts by Andrew Goldstein, Caroline Pukall and Irwin Goldstein