Would it be safe for someone who just got out of rehab for addiction to drugs (Meds) take “Famotidine” ?

10 point will be given. Help is very much appreciated.
After re-reading I noticed my question is a little confusing.

What I mean is would it be safe for someone who just got out of rehab for addiction to meds to take “Famotidine”

More Meth Drug Addiction Info: