I think the biggest question is... how do YOU handle it? What do you want your children to see? How do you want your children to see you manage your medical situations?
If the best way to handle OCD or Anxiety is with medication and cognitive therapy, then show your children how to manage properly, rather than letting it control you.
If it were a different medical condition that required medication to manage it, would you also take that standpoint that I can't see taking a pill every day for the rest of my life? I like the corollary to diabetes.... easily managed with medication and diet... no fun, I agree, but manageable....
I think, (and granted, I'm not a medically trained professional), is that your anxiety over the OCD is what is controlling you at this point. Some way, you need to find a way to be the controller in this situation.
(I hope you understand what I am saying...... it is your reaction and your actions that you will pass on to your children.... how do you want them to see you?)