What to do when my previous employer gives negative feedback for me?

I had a personal problem with my previous employer and lost the job. Now when I am looking for new jobs, I am not selected because I fail in background check. What I can do to avoid this. I am fed up of succeeding in 2nd or 3rd rounds of interview and fail in last stage.

What to do when my previous employer gives negative feedback for me?
Post Opinion