@paok1970,
It seems acceptable and not particularly unnatural. I wouldn't question it if I heard someone say it.
I might say handle, cope with, deal with, or manage. I would say recover from but I'm not sure OCD is something you really recover from.
Be rid of it or rid yourself of it are options that might be closer to the sentiment youre trying to express with get out of it.