When I sterilize the lids, I do not put them together with the jars. I clean them in warm water with soap and dry them well, then I boil some water and add them for the last 2 minutes to sit in that hot water.  The new guideline is not even to boil the lids, but for my peace of mind, I think you should place them in hot water for at least a few minutes before you use them. (Here is the link for that: https://www.freshpreserving.com/canning-lids-101.html).