Your lamp's socket
Bulb in your hand
Or measure what you have
Screw thread, across (mm)
Pins, centre to centre (mm)
Pick a socket and a bulb. A match slides in; a mismatch stays out and tells you why. Sizes are drawn to scale across the screw caps, roughly.