The part of the brain behind the forehead, called the prefrontal cortex, is one of the last parts to mature. That part does not become mature until your mid to late twenties.
So if you find yourself making dumb decisions,it's not your fault, your brain just isn't grown yet.