losing motivation

So I had my fucntions culminating today it was worth 15% of my grade , and I went completely blank , I was so lost , and now I feel like failure, and a disappointment for my parents. I tried solving the questions, but it don't think it was right now I have my physics exam and maths on Friday and Monday. im so demotivated, please give me tips