How to balance serious health concerns and ocd?

If a dog bites you you should take that post rabies exposure thingy ASAP. The thing is that I passed by that dog and I was really close to it. It became very angry and barked.

Now I don't know if it managed to bite me or not (this happened 10 days ago). Rabies is a serious disease. The death factor isn't too bad, but it's terrible that I don't know my future and I have to wait a few months (maybe years) to see that the dog had bit me or not. In that time I will not know if I can make it or not.

Logically you should never risk these things and you should seek medical attention. But if I do that, my OCD gets worse. If I don't do that, there is a high risk of me getting a terrible disease.

What to do how do you manage this?