In case of accidentally mixed petrol and diesel fuel, the best solution would be to separate petrol from diesel and reuse the resulting fuel as intended.
In this video, I show the operation of such a separator and describe the steps needed to operate the machine.