Thanks for your query.
You seem to be having fibroids or adenomyosis.
In both these cases, the wall of the uterus gets thickened, and is not able to support a pregnancy.
Also your age is 40, at which ovarian ageing starts.
Please consult an Infertility
Specialist for ovarian reserve
testing, and assessment of uterine cavity
via laparoscopy and hysteroscopy
You might require ART ( assisted reproductive technology ) in order to conceive.
All the best.