have/get one's head (screwed) on right/straightidiom
Definition of have/get one's head (screwed) on right/straight
: to think or act in a smart and sensible way She's young, but it's clear that she has her head screwed on right. You think that's a good idea? You need to get your head screwed on straight.