Outside of switching things up like using glass containers, enabling the body to detoxify itself and repair itself by ensuring that it gets adequate nutrition (daily) and exercise is the key.
But for a simple pill solution, consume sulfur. For as important as it is, it's not widely front of mind in the health space. So much focus on Vit D, Magnesium, Omega 3s, etc, which are all absolutely necessary.
Some great sources of pill based sulfur are Taurine, NAC, and MSM (methylsulfonylmethionine). My preference to recommend blindly as a general pill is MSM. But sulfur is key for the liver's detoxification functions to work ideally.
There's quotes flying around that say something like: 80% of the population (US or world) is deficient in X.
Usually X is omega 3's, Magnesium, Vit D, and also to add to the list, Sulfur is a huge one. Outside of being in a culture like Koreans that consume cruciferous veggies 3x/day (via kimchi), most americans only get it from meat, garlic, onions and broccoli. If one has brittle nails or hair doesn't grow as quickly, that would be the sign that something like MSM in pill form would be helpful. Otherwise, folks are probably fine if they are consuming daily amounts of anything containing sulfur.