<p>that’s clearly up to you!
If you are from somewhere like IIT, BITS or NIT, then don’t.
If you are not from somewhere SPECTACULAR, you will be better off socially and monetarily as a doctor.
That is my personal point of view!
However you also have to keep in mind that a MS degree will cost you about 12 years! (that too assuming you clear all the entrances in your first attempts and that you don’t fall back in class)</p>