If it is really mangled, you'll probably be ahead of the game to just replace it. Measure it well, because they all kinda look alike, but are offered in different sizes. A new replacement one can be sourced at most on-line trailer/RV parts sellers.
As an aside, I replaced my single entry step on my Casita
to help getting in and out of the trailer. My wife has sciatica and has had back surgery. The extra step makes it less of an ordeal to just go in and out.