You pour water over it, but don't just dump the whole bucket all at once. That's going to produce a ton of smoke. If you don't have water, soil or sand will work to smother the fire. Then, once it's out, poke it a few times with a stick or something to make sure the fire is totally out.