The short answer is that you don't. Not even Galvatron managed it — he blasted him once in the original film, and Starscream came back.
He returned so many times that the writers eventually gave up and left him drifting in space at the end of G1. The Maximals in Beast Wars even tried to copy his indestructible spark to build a warrior on the side of good, which went about as well as you'd imagine.