Dear Sonali, you might have had a relapse of depression or an episode of anxiety disorder. But it needs to be evaluated in detail. Regarding medicine making your mind slow, there are numerous other medicine which can treat depression or anxiety without much of side effects too. So don't worry.
Next Steps
kindly get an online consultation or if possible in person consultation with a psychiatrist.