How do I write off the loss of buying a bad vehicle?

I bought a used van for my business, but it broke down on the first trip. The cost to fix it was worth more than the van. Can I write off the cost of the van?