The Allahabad High Court has directed the state government to formulate a policy to prevent government doctors from engaging in private practice.