A doctor wrote a man a prescription for an unusual treatment