You will need one of these.
https://www.amazon.com/Triangle-Bulb...m+dimmer&psc=1
A regular dimmer will not work on leds, takes a special type called a pwm (pulse wave modulator) switch. I believe there is a video on YouTube that sort of explains how this type of dimmer switch works.