How does one make the sturdiest earring posts?

I’m surprised no one has mentioned heat hardening.