If you are certain that you have accidentally put diesel fuel into your gas, the best solution is to drain the tank and flush the system. Gasoline and diesel cannot mix, so if diesel is mixed in with gasoline, it will clog up the engine and ruined your car. The next step is to fill up the tank with fresh gasoline and try starting your car. If it starts, congrats! If not, take it to a mechanic for service.