Idiom
have head screwed on the right wayhave (your) head screwed on (the right way)
informal if someone has their head screwed on the right way, they do not do stupid things.Don't worry about Sal, she'll be all right - she's got her head screwed on the right way.