put something out of your head
put (someone or something) out of (one's) head
To make an effort to forget or stop thinking about someone or something. You need to put that idea right out of your head—it will only bring us trouble. It's been three years since we broke up, but I still can't seem to put her out of my head.