Sorry - I didn't read carefully enough
You're talking about your cassette, not your chainring. Sorry. Here goes:
You can't repair it per se, because the small cogs are too small to work back into shape and the big cogs are permanently atached to the pider/carrier. When you say second from the top, do you mean the second smallest or the second biggest? The reason I ask is because if it's the second biggest (like a 26 tooth) then you need to buy a new cassette, unless you can find a way to get the cog off and bend it back into shape. If it's the second smallest, like a 13 tooth, you can just buy that one cog to replace the one that's bent.
I hope that answers your question, and sorry for the misunderstanding (one of my biggest pet peeves is when people respond to postings without reading the question thoroughly, and here I've gone and done it myself!!)