Never regret for what happened in past. You have now a chance to make the most out of the situation. Have a positive mindset and focus on a bigger goal. Use internet to learn things, take all of this as a challenge. A single exam can’t decide your future, you can.