Sound slike you're young? You're going to miss a shit ton more of these kind of opportunities. You're going to have to learn to deal with it and learn from it so that you don't make the same mistake next time.
Opportunities aren't rare, but theyre not common either. It's best to seize as many as you can to get as much out of life as you can.
All you can do is learn from your mistakes and do better next time. That's what mistakes are for, to learn. Without mistakes, you don't learn.