Ectopic pregnancy

I had an ectopic pregnancy in October a couple years ago and had to go into emergency surgery. I know it has been a while but every since then I have felt broken and that I won't be able to have children in the future. Has anyone had children after that kind of surgery? Also I'm scared it's going to happen again :/