Hi, welcome to BB. I was diagnosed with endometriosis a couple of years back while TTC for a number of years. I ended up having to go on medication which was an implant in my stomach injected every month for 6 months while I waited for surgery. I had a laparoscopy done to remove the endo and it made a huge difference to my periods which had always been extremely painful. I went ahead with IVF the following month (other male factor issues as well) and after 2 cycles I fell pregnant and now have a son turning 1 in 2 weeks.
It was a long and hard journey but one I would do again if I had to in a heartbeat as it was all worth it once I had my beautiful boy in my arms.

Good luck!