First, talk to your doctor about your symptoms. Your doctor should do an exam to make sure that another physical problem isn't causing the symptoms. The doctor may refer you to a mental health specialist.
Only a trained healthcare provider can diagnose a person with OCD. The severity of the disease is typically measured on a numerical scale gauging the impact thoughts and actions have on daily life.To be diagnosed with OCD, a person must have obsessions, compulsions, or both, according to the Diagnostic and Statistical Manual of Mental Disorders (DSM). The Quick Reference to the 2000 edition of the DSM suggests that several features characterize clinically significant obsessions and compulsions. Such obsessions, the DSM says, are recurrent and persistent thoughts, impulses, or images that are experienced as intrusive and that cause marked anxiety or distress. These thoughts, impulses, or images are of a degree or type that lies outside the normal range of worries about conventional problems. A person may attempt to ignore or suppress such obsessions, or to neutralize them with some other thought or action, and will tend to recognize the obsessions as idiosyncratic or irrational.
Compulsions become clinically significant when a person feels driven to perform them in response to an obsession, or according to rules that must be applied rigidly, and when the person consequently feels or causes significant distress. Therefore, while many people who do not suffer from OCD may perform actions often associated with OCD (such as ordering items in a pantry by height), the distinction with clinically significant OCD lies in the fact that the person who suffers from OCD must perform these actions, otherwise they will experience significant psychological distress. These behaviors or mental acts are aimed at preventing or reducing distress or preventing some dreaded event or situation; however, these activities are not logically or practically connected to the issue, or they are excessive.
In addition, at some point during the course of the disorder, the individual must realize that their obsessions or compulsions are unreasonable or excessive. Moreover, the obsessions or compulsions must be time-consuming (taking up more than one hour per day) or cause impairment in social, occupational, or scholastic functioning.