I've reached the point that I adopt the same attitude back. Like, genuinely told myself "No, fuck these thoughts, we ain't having this shit tonight", into just kinda almost meditating myself to sleep.
Probably not a healthy coping mechanism, but it works?