The most effective way is the oven method. Always make sure that your silicone trays are definitely oven-safe. If they’re oven-safe, but you’re not sure of the best temperature, heat them at 250 degrees instead of 350.
If your silicone trays aren’t oven-safe, wash them in soapy water and then try the vinegar and baking soda hack.