THC after

So I am 19 I was hospitalized for myocarditis and just got out of the hospital a week ago. I’ve been a pretty heavy thc smoker since around age 15. I have been struggling to not smoke i’ve smoked a bit almost everyday since getting out and i’m finally stopping after much struggling. How long should I wait? would joints or pens be better? would edibles be okay now?. Will smoking once i’m healed fully cause any relapse?