Sorry to hear about your difficulties.
Some of the mental health conditions are similar to
diabetes, where symptoms can be controlled but complete recovery although possible in many cases, unfortunately not in all cases for various reasons. Further pregnancy and childbirth are major life events, which can cause imbalance of hormones and chemicals in the brain alongwith the stress of caring for the baby. Hence it appears the OCD symptoms have returned. Nevertheless they can be controlled with appropriate treatment and support. Please consult psychiatrist.
Best wishes.