Hi thanks for your approach to us. Yes OCD is something which is both feeling of anxiety /fear (thoughts) and compulsion towards behaviour.
It is something may not appear through out, if there is triggerance / stress in situations, then you could feel the difference in behaviour. Since symptoms may not be throughout, so the specialist might have told sometimes yes and no.
Along with proper treatment, it suggested you will take the help of counselling, which will support you to handle the situation and cope with the emotional dysfunctions.
Next Steps
Don't worry take both experts guidance for positive well-being.
Health Tips
Work on your thoughts of triggers to stress, why do you lack confidence to handle, self difficulty?, know more about your strengths and hobbies, fix routine, goals also try to share your emotions with others whom you feel comfortable. Take care..