If you switch off, you stop paying attention or stop thinking or worrying about something. [informal]
Thankfully, I've learned to switch off and let it go over my head. [VERB PARTICLE]
You may find you've got so many things to think about that it's difficult to switch off. [VERB PARTICLE]