I think your scenario you are worried about is unlikely. What do you do to treat your OCD? Start there, really. This is very important.
If the bugs were not even moving, they weren't laying eggs, and you did wash your hands. Try not to worry. Do some stress-relief actions (deep breaths, visualizations, exercise) so it won't prey on your mind. Remember, the OCD is the problem, not the trigger. A friend of mine has fish, and the first time she syphoned the water for cleaning the tank and accidentally got some in her mouth, she ran around gagging, gargling with hydrogen peroxide, etc. Now if some gets in her mouth, she just spits, wipes her mouth on her shirt and keeps cleaning the tank. It's not the gross thing, it's how calmly you shrug it off, that matters.