Do O.D patients go to jail after they're admitted into a hospital?

O.D as in overdose drugs like heroins, meth, ect... Are they forced to go into rehab after they are treated in the hospital?