No matter how much things go wrong in an interview it is never the end of the world! There is still a good scope of learning from an interview gone bad but many people fail to recognize this. It is every interviewee's worst nightmare. One is in the middle of an interview for a job and all of a sudden, it all starts going wrong. It does not matter if it starts out well, once things start going wrong it feels like there's no way back. However, it is possible to get things back on track and limit the damage during the actual interview. There are also some steps to follow later that one can take after the event to rectify the situation and to move on with the job search regardless of what the outcome of the bad interview is.
The best way to recover from a bad interview is to move on. If you genuinely think that the bad interview is a lost cause even after you have followed the above steps, you should not give up on the job search completely. You should focus on how to improve the interview technique. Even a bad interview can be worth something if learning from the mistakes helps you to ace the next interview.