A student got injured someday

A student got injured someday. He took the medicine from the doctor and got cured. He wonders that how medicine got to know where to act. He asks doctor about the reason. What could be the possible reason according to you ?

Every cell membrane has some receptor over it, which perceives the drugs and this stimulate cascade effects in cell and disease is cured.