My self-employment lasted only for part of the year, e.g. Jan-Jul '21 - do I enter car expenses only for 7 months or the entire year?

I've entered that I stopped using my car for self-employment purposes in July but TurboTax makes it not clear whether I should only enter expenses, for e.g. gas, for the first 7 months or the entire year.