I agree with many of the other practitioners who have responded that medication along with counseling/therapy would be very beneficial. medicines would address the chemical imbalance, but it is the psychotherapy/counseling that will help to learn and practice the appropriate thinking and behavioral strategies that will help cope with the obsessions and compulsions.
Next Steps
make a note of the triggers/situations that activate the obsessions and compulsions, use a thought diary to write down what your thoughts are in the situation. these will help you understand your triggers. in addition also download some mental health apps like wysa that help you to practice certain patterns of thinking that will be useful.
Health Tips
the above are temporary strategies that will help to chart out the problem. it is not suggested as a subsitute to counseling and therapy. when you are ready, approach a qualified and trained therapist who will help you through this problem.