I had some really forgeted up OCD type things happen with me.
The first was that if I touched something by accident I'd have to touch it again, or run to somewhere nearby in 6 steps. Sometimes I'd think I had to count to 10 really fast 3 times before the nagging would go. I just figured it was stupid, and logically nothing would happen and what I was doing was some bad OCD-type behavior.
If anything OCDish happens again, I just picture what caused the OCD in a picture frame and imagine it shattering into a thousand pieces, like I destroy the obsessive behavior as if its a physical object and then I can relax. :3
Maybe you could do the same. Or, if you hear that creaking sound, imagine there is a little machine that is doing the counting for you so you don't have to. Imagining things like that helps me a lot, I'm pretty much over it now.