Applying medication to the skin or mucous membranes allows it to enter the body from there. Medication applied in this way is known as a topical medication. It can also be used to treat pain or other diseases in specific parts of the body.