That is TERRIBLE advice from you doctor, you are bound to get engorged, be in terrible pain and possibly get an infection from it.
It is recommended to stop slowly. Replace a feeding with a formula bottle. One feeding every day or two is probably best. Do not express milk or run your breasts under hot water in the shower, that will just encourage more milk production.