Turn power off and unplug the lamp.
Identify the wires
Smooth / ribbed wire = neutral
Ribbed wire goes to the silver screw
Smooth wire goes to the brass screw
Prepare the socket
Remove the socket shell to expose the terminals.
Connect the neutral wire
Attach the ribbed (neutral) wire to the silver screw.
Connect the hot wire
Attach the smooth (hot) wire to the brass screw.
Tighten screws firmly so no bare wire is exposed.
Reassemble the socket and replace the shell.
Test with a 3-way bulb
Off → Low → Medium → High → Off
⚠️ Always use a 3-way bulb. A regular bulb will not step through light levels.