Topical medications work by penetrating the skin and reaching the underlying tissues. They can have a range of effects, from reducing inflammation and pain to treating skin conditions.