Hello and welcome to ‘Ask A Doctor’ service. I have reviewed your query and here is my advice. The hysterectomy may have caused injury to some nerve or ligament. In this situation, pain can occur while and after sexual intercourse. I will suggest you to consult an OBGYN specialist to confirm the diagnosis and get further treatment accordingly. Hope I have answered your query. Let me know if I can assist you further.