Deductions & credits

You can't deduct "gas", exactly.  You can deduct expenses for using a personal vehicle for your work (self-employment only) using the actual expense method or the standard mileage amount.  These options are detailed in chapter 4 of IRS publication 463.

https://www.irs.gov/forms-pubs/about-publication-463