Whenever I'm in the bathroom, I have to imagine I'm somewhere else or doing something else while I go. (Usually I'm hiding.) Especially when I'm in a public restroom.
I used have this thing where i would try to think of all the ways i could escape from the room if something happened. Most i ever got was 7 iirc, 3 doors, 2 windows, a ceiling fan and a roof-entrance.
farting