act (one's) age
To act in accordance with one's expected level of maturity. Really, John, act your age a little, you're like a child sometimes. I'm glad that Sarah is so committed to her studies, but sometimes I wish she would act her age and go out with friends a bit.