Anti depressants and Lucid Dreaming?

I don’t know how this works or goes under. I’ve been put on a new medicine by my doctor recently. And lately, I’ve been having pretty good recall on my dreams and really good vivid dreams, some get too real. I was wondering do some medication have some effects on dreams? I was afraid that my new medication would affect me on Lucid Dreaming due to it giving me high amount of vivid dreams. Because here’s the problem, I want to get back into Lucid Dreaming and my medication has been giving me pretty decent amount of sleep for LDing, yet I’m afraid to try LDing again because I’m worried it might interfere with the meds. How would all this work? Also would it be safe? Sorry I haven’t been on the forum in awhile.