How to tell

How do you know if you're fertile or not? If you have endometriosis dies that mean you aren't fertile? I know my bf is fertile he has a kid.