How can I know if I’m able to have babies?

This might sound like a stupid question. But I’m 21 and I have a regular period. But I can’t help but wonder if I can have children, it’s just a weird thought that crosses my mind. What are the chances that I can’t have children? And what would be the reasons....