If the medicine is pleasant tasting, the Brocho to say before eating it is: Shehakol Niyeh Bedvoro
If the medicine is normally bitter tasting, but was sweetened to allow easier consumption, there is no Brocho required [e.g. cherry flavored cough syrup]
Likewise, if the medicine is bitter, no Brocho is required
There is no Brocho required after eating this
Also see Water
Source: The Laws of B'rachos (page 140, 373)