Each country and each culture has its own laws. And you can marry only when the law allows.
But there are exceptions: for example, pregnancy, custody of children, etc.
Before you get married, you need to find out whether the law of the country/state allows you to do it at your age.