Congratulations for your new job
Diverting your thoughts could be help for short term but avoiding is never helpful in long run.
Various therapy are available depending on your oc symptoms like behaviour therapy, CBT, mindfulness, medication. They help you face your thought and fear ,mindfully control them rather than avoiding them.
Next Steps
Please consult a psychiatrist for detailed evaluation