The phrase
"tough medicine" refers to a situation where something difficult or unpleasant needs to be done in order to solve a problem or improve a situation. It usually involves making tough decisions or taking harsh actions that may be necessary, but not necessarily enjoyable.
Full definition