Schizophrenia can be hereditary, but symptoms almost always start in the early teens or young adulthood. Onset of schizophrenia in later years is almost unheard of so it is highly doubtful that is what you have.
What you described does sound like mild OCD. It would be a good idea to see a therapist just to get a diagnosis, at least. A therapist can do a complete evaluation to determine what your diagnosis is and what treatment would benefit you the most. There is medication that can help as well. However, you are under no obligation to accept any type of treatment. But a diagnosis would at least give you an idea of what you are dealing with. Here is a link to help you find a qualified therapist:
There are ways you can help yourself at home to counteract the thoughts and work towards feeling more in control.
Here are some resources to help you:
The OCD Workbook: Your Guide to Breaking Free from Obsessive Compulsive Disorder by Bruce M., Ph.D. Hyman and Cherry Pedrick
Overcoming Obsessive Thoughts: How to Gain Control of Your OCD by Christine Purdon and David A. Clark
Getting Over OCD: A 10-Step Workbook for Taking Back Your Life (The Guilford Self-Help Workbook Series) by Jonathan S. Abramowitz
You can find these books on Amazon.com or your local library may have them for you.
Here is a link to a very helpful guide online:
I hope this has helped you,