I think that there is a doctor shortage in our country because of 3 factors:
Those who are trying to become a doctor want to go to other countries and they don't want to be in our country. The main reason for this is they want to get more salary and lead a luxurious life. I think the best way to overcome this problem is to increase the salary of doctors so that they won't go to other countries.
The next factor is work tension. Doctors have to work 24/7 without rest. They also have a family and they also want some rest. So this problem can be solved by making the doctors work on a shift basis. This will give them time to relax and spend time with their family.
Another factor is everyone has a fear of studying the portions required to become a doctor. They feel that becoming a doctor is much harder than being a doctor. The solution for this problem is to provide proper guidance for the students so that they won't be afraid of the syllabus they need to study. Also, providing funds for students who are really interested in becoming a doctor could encourage more students to become a doctor.
These are some solutions which I think would help to overcome the doctor shortage in our country.