Stolen business car

I'm self-employed and use my car for business. My car was fully paid for and stolen in July of 2023. Insurance paid $9,700 and I purchased another vehicle for business. How do I claim this on my taxes? I'm very confused with the gain or loss basis