Do they test for drugs at the doctors for antidepressants?

Recently my grandmother died which has put me in a bad state again. A few years ago I was diagnosed with depression, anxiety, and being bipolar. I got off the pills years ago. Anyways, I’m starting to feel what I did years ago and decided to make a doctors appointment to go back on meds. I smoked weed 2 days in a row like 3 days ago. I’m worried about them doing urine test? I don’t plan to smoke anymore. Thanks!