Hi thanks for your question.
The common causes for painful intercourse are;
that is the yeast infection of infection.If your gynaecologist suspests endometrosis as cause of your painful intercourse,confirm it by ultra sound
.If it proved to be endometrosis,get it treated by your gynaecologist.
Hope this answers your question.