Intercourse 20 days after ectopic pregnancy surgery will definitely have an effect because the abdominal wound of ectopic pregnancy is very small and will heal quickly, but the intra-abdominal wound of ectopic pregnancy has to heal slowly and the ectopic pregnancy itself is mostly due to chronic inflammation of the fallopian tubes. If you have intercourse at 20 days, you will bring in pathogenic bacteria, which may aggravate the inflammation of the fallopian tube itself, so it is advisable to take oral anti-inflammatory drugs for 2-3 days, mainly to prevent infection. After ectopic pregnancy, if you plan to get pregnant, it is recommended to have a tubal imaging test three months before you plan to get pregnant to know whether the tubes are open or not, and then have intercourse can improve the chance of pregnancy.