The simplest answer is persistence—keep trying your hardest and, eventually, you will make it through.
Paper Mario can be challenging in spots, but sticking with it and learning from each attempt is what gets you to the end.