Seeing a dream where you are getting sick and visiting a doctor could have different meanings as per Islam depending upon the situation.
1- According to Ibn Sirin رحمة الله عليه, the greatest dream interpreter of Islam, seeing yourself getting medicine from a doctor has two meanings depending upon the outcome.
- Getting better after taking the medication means that someone would guide the dreamer to lead to the right path of Islam.
- Getting worse after taking the medication means that someone would lead the dreamer to the path of wrongdoings.
2- The meaning of giving medicine to someone in a dream also has two different meanings in Islam depending upon the consequences.
- If the medicine is effective, it means that the dreamer would advise people towards the right direction and people would follow him.
- If the medicine is ineffective, it means that the dreamer would advise people towards wrongful acts.
3- Becoming a doctor in a dream is a good sign which represents good health, wealth, and the right direction as per Islam.