There are a number of things that may cause the washing machine to not drain. You may have a burnt-out motor, damaged belt, broken electrical component or a number of other things that you simply cannot fix on your own.
If the machine won't drain, it is important to remove the clothing, otherwise they may become damaged or develop odor. Place all of the clothing into a bin or bucket. Take the items to the bathtub or sink and rinse them out well to make sure all soap residue is removed. Then wring out the clothes well and dry as you normally would.
You must now remove the water from the washing machine. Often a repair person cannot make it to your location for a day or sometimes even several days, and the water will turn stagnant. Collect the water with a bucket and discard in the tub, sink or outdoors.
If your washer is under warranty, call the manufacturer. They will send a technician at no charge. If you do not have a warranty on the unit, contact either your local repair facility, the manufacturer or the store from which you purchased the washer.