What can be done if a former supervisor is giving a bad review?
Most job applications ask you to provide references or recommendation letters. Usually, you can choose which names you put on that list (and exclude former supervisors if you don't trust their reference).