When people who live in the desert have a flat battery and there are no other cars around, sometimes it's not possible for our passengers to push the car as it's in soft sand. This is how the problem can be fixed if you have a manual car and two other people with you.
You need a jack, a long strong rope, a piece of wood (or if you find it a flat stone) to put the jack onto so that it doesn't sink in the sand.
Lift up one of the back wheels with the jack, then tie the rope around the raised wheel enough times to make it easy to spin quickly, and leave a lot of rope to pull it with.
Take the air filter away from the box to allow as much air as possible to reach the engine quickly.
One of you must sit in the driver's side of the car, pump the clutch, change into third gear, and switch on the ignition while two other people quickly pull the rope and make the back wheel spin fast.
This is almost the same as pushing the car, because the wheel is moving - and your battery should be able to charge when the engine starts. Leave the engine running for for at least 15 minutes to allow the battery to charge.
After this you can move. :-)