In the world of dreams the rules of reality do not necessarily apply. Each dream is unique and it's a direct link to the soul and spirit. Psychology provides its own theories on what dreams mean, but so did tradition and the study of dreams for thousands of years before any relevant science had developed.
Dream Meanings - Medicine
To dream that you are ill and taking medicine means joy and serenity at home. To buy medicine means things at work aren’t going well, while if you buy medicine and give it to someone else then any mishaps you have had will be overcome.