take (one's) medicine
To accept and do what has to without complaint or protest, especially when it is unpleasant or difficult. Though he didn't agree with the two-game suspension, he took his medicine and didn't gripe about it to the media. Hopefully the election result will send a clear message to the losing party, and they'll finally take their medicine and do what's right for the country.
take one's medicine
Fig. to accept the consequences or the bad fortune that one deserves. (Alludes to having to take unpleasant-tasting medicine.) I know I did wrong, and I know I have to take my medicine. Billy knew he was going to get spanked, and he didn't want to take his medicine.