I would say "I think that next time, I can do better than I did before." Conversationally, you could say "I think next time, I can do better than before." In written, non-conversational English, the first is better. When you are writing, the difference between conversation and regular text is...