General Method Of Controlling Chaos