http://psychcentral.com/disorders/sx25.htm
That's OCD in a nutshell, which I have a feeling you might have read or a similar thing. Have you ever seen MONK? Yah, he's very OCD, scared of germs. His obsession. His compulsion to lessen his obsession, or fear, is to clean and avoid germs and disorder. You can also be convinced that if you don't preform certain rituals, something bad will happen. I think. Not sure of the last one.
That's my basic understanding, so it doesn't sound like it. ^_^ It's a good thing! You should prabably seek help if it's becoming a thing that interferes with life. Good luck!