Replace the chain
Remove the current chain using a chain tool.
Determine the length of your new chain by looping the chain around the largest cog and then the largest chain ring. Do NOT include the derailleur. The length determined by this method should be about one link shorter than the chain currently on the bike.