The best thing to do is to keep it in the fridge. Or, if you're not going to use the icing within the week, freeze it. Before you use it, take it out, let it warm up, give it a good stir, and you should be good to go.