It actually takes weed quite a while to lose its potency. So the best thing to do is put it in a plastic ziploc, seal all but one corner, suck the air out till the plastic clings to the bud, seal, fold up nice and good, and stick it in the freezer.
Cryogenic!