Just started medication

I’ve just started a new medication (sertraline) would I still be able to take md whilst on the medication or will they cancel the effects out?