When I tested it (watched the counter before and after), fix attempts on build errors did NOT reduce my credits, normal chat messages did. But Lovable changes pricing regularly, so test it yourself the same way.
Either way, if the first two fixes don't work, the third won't either. Copy the error into chat mode and ask it to explain the cause first, before changing code.