To dream that you are taking medicine represents a period of emotional and/or spiritual healing. It also indicates that the troubles you are experiencing are only temporary. Things will work out in the long run.

To dream that you are giving medicine to someone indicates that you are trying to take advantage of a situation or of someone.

If you are given the wrong medication, then you are being manipulated. Someone is trying to take advantage of you.