Light bulbs for brass engines

How do you know what size of light blub to use
when replacing a bulb? The engine is about 40
years old. Any help would be great. This is
HO scale. Thanks