get into one's head
Also, get or take it into one's head. Form an impression, idea, or plan. For example, What strange idea has she got into her head? or He took it into his head that you want to quit. [Late 1600s] Also see get through one's head.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.