The act or process of medicating.