I usually leave it in the primary for 4-5 days after it quits,to condition it a bit,then rack it into my bottling bucket,and let it settle for a day before adding the priming sugar so I dont get hardly any yeast on the bottom of the bottles.If you kept everything real clean,and store your beer in the dark in a cool place,It should keep for Quite a while.I have kept some over a year,and it was still good.