Check out the entire deck while you are at it. Unfortunately even treated deck lumber has a life that depends upon the climate you live in. You may pull up the decking and find damage to you joist edges. Then you may want to replace the whole thing.
You could buy some time with a rug, but it will hold water from rains and speed up water damage to your decking much more. Also a good place for mold and mildew. Also check for water damage behind the ledger board if attached to the house.
Around here more and more decks are being built free standing for a couple reasons. You avoid any water damage to your house around the ledger board (even though they should be flashed) and also county appraisers place a higher value (and therefore more taxes) on a structure attached to the house as opposed to one that isn't. They look at building permits to see if there is any attachment also. Free standing just require a few extra posts.