Use one`s head/bean/noodle/noggin

To think carefully about something .

“You should use your head a little more and try not to make the same mistake again.”