This is a difficult question. People can inadvertently become a danger to themselves by performing certain rituals, such as washing their hands so many times that they scrub off layers of skin or scalding themselves in boiling hot water to remove germs.
People with OCD can also inadvertently become a danger to others.
For instance, the person who hits a bump in the road and thinks he or she hit someone may spend the next few minutes looking more in the rearview mirror than at the road ahead, therefore increasing his or her chance of hitting someone instead of decreasing it.
The bottom line is that OCD can contribute to your doing the very things you fear because of your lack of attention to your surroundings when you are ritualizing.
It can also increase your chances of experiencing the very things that you fear because no one is ever able to perfectly avoid their obsessive thoughts, impulses, or images. Finally, OCD can increase the chances that you will inadvertently harm yourself because of the time and energy it requires.
Obsessive thoughts and compulsive behaviors can interfere with your ability to perform in school or at work, potentially leading to poor performance and to dropping out or getting fired.