What test should I take to know if I could have a baby

Karla
Hi ladies! I need help🙏🏼 I've been so scarred to go to the doctors in years to checked out but I now am 31 and I know I need to go. 
Long story short, I had an ectopic pregnancy about 5 years ago, I had to have emergency surgery to get it removed along with 1 tube they also told me my other tube was in bad shape and I may or may not have to get that one taken out too. When I walked out of the hospital I was rather broken and sooo out of it so everything about my surgery is a blur... to the day I don't remember much. I have a folder that they sent me home with but there isn't any info on what they did, only pictures.. but I don't know. I've had my period  every month so I think I have a tube but I'm not sure... what test do I need, how much does it cost (roughly) or does anyone out there have a similar story as mine and had children after?