How to replace a 3057 bulb, 3057 vs 3157

The bulb are reversable and the circuit remains the same.
the bulbs,3057, 3157, 3457, are interchangeable as well, the difference being the brightness.

When you mention LEDs…THAT changes things and we can only hope you don’t melt anything. I have not heard of meling LED 3157 but those silly blue headlights have melted plenty in our shop.

LEDs have poor side illumination so consider the scope of the viewing area of that lamp.
Straight back , fine, but if that same bulb is the one to be seen from the sides too…stick with incandescent.