Sand and snow stuck....
I was fortunate enough to be sent on a two day 4 wheel driving course by the NPS when I was working for them down in the Mojave and one of the long discussions and then on-scene training was sand stuck and it applies equally to snow.
Firstly...know when you are stuck and stop spinning yourself in deeper.
Air down the rear tires. All four if you have duallaies. That will spread the rubber, soften the load on the sand or snow and most/many/almost always, get you out. Of course, you then have to air up again, so..a compressor or a really good bike pump and patience. although you can drive v-e-r-y slowly on 20-25 lbs, if needs be.