Pharmaceutical gels and methods for delivering a therapeutic agent to a target tissue site beneath the skin of a patient are provided, the gel being capable of adhering to the target tissue site and comprising one or more biodegradable depots containing an effective amount of the therapeutic agent. In various embodiments, the gel is sprayable and hardens after contacting the target tissue site.