try not to think about something He has been trying to put his girlfriend out of his mind since they decided to stop seeing each other.
PUT (SOMETHING OR SOMEONE) OUT OF ONE`S HEAD (MIND)
Meaning of PUT (SOMETHING OR SOMEONE) OUT OF ONE`S HEAD (MIND) in English
English idioms vocab. Словарь английских идиом и выражений. 2012