This is one of the mistakes that happen very often and may often be very expensive. You may put diesel in a petrol car accidentally or the other way round but putting petrol in a diesel car may be much more dangerous due to the lower lubrication that it offers.
If you accidentally have put the wrong fuel in your car then be careful not to switch on the ignition as once you do that, the fuel would have mixed with the previous fuel and would be circulated throughout the engine and thus damage the parts. If its petrol in a diesel car then the metal parts may rub against each other more vigorously and cause you to need to change the parts.
The wrong fuel needs to be drained completely and needs experts.
If you accidentally have put the wrong fuel in your car then be careful not to switch on the ignition as once you do that, the fuel would have mixed with the previous fuel and would be circulated throughout the engine and thus damage the parts. If its petrol in a diesel car then the metal parts may rub against each other more vigorously and cause you to need to change the parts.
The wrong fuel needs to be drained completely and needs experts.