I messed it up; I screwed it up (Levantine).
To fail a test badly.
To fail (an exam/course - common Hinglish).
To go wrong; to fail.
To fail (an exam or course).
To make a mistake; to fail.