Replacing just the head gasket vs. complete overhaul after overheating an engine?

If you could put a real number on just how much driving was done with the needle in the red it would help,what do I mean? you have decided to go your own way no matter what. One last thing did this engine get so hot that it smells like they are taring the roof of the building that the car sits in? never a good sign. Do not ever and I mean ever, compare anything dealing with airplanes to anything dealing with automobiles,worse that the classic “apples and oranges”