Should your penis get hard?

When you get older your body starts maturing. Your penis getting hard is completely normal, this usually happens when there is something sexual happening, but you can also get NRE (No reason erections) Its completely normal Its just how the body works