Do as what doctor told you
Do as the docter has told you.
Do as the doctor told you.
Under doctors orders to