Act your age!
something that you say to someone who is being silly to tell them to behave in a more serious way Oh, act your age, Chris! You can't expect to have your own way all the time. I always want to tell middle-aged men in sports cars to act their age.
See also: act