Weed and epilepsy

Okay so I'm 14 years old. My doctor told me to stop taking my medication after I've had it for like 2 years or so. Now after I stopped the medicine I started smoking weed. My question is, does weed effect my epilepsy? If I keep smoking, will my epilepsy come back? I hadn't have a sezure in like 2 years. Since I started the medication. If I keep smoking will I have sezures? Does weed effect epilepsy?