Where are you located?, could you describe your climate as people will need to know that, to be able to give some advice.
How ever, the purple Celosia spicata is an annual plant, meaning that it will die after flowering finish in one season. There is nothing you can do to revive it, but they produce lots of seeds. When the flower-spike dried, rub them and you will find seeds. They are very small, brownish-black, and if you want you can have lots of new plant.