There is no one definitive way to fight cars in Fortnite. It depends on the situation and what other weapons and resources you have available. Generally, it is best to try and avoid being hit by the car by staying out of its path, and then attacking it with ranged weapons like guns or explosives. If you are close to the car, you can also try melee attacks, but be careful as the car can still damage you.