If you are photographing lit bulbs or candles in a dark room it can be tricky. The best approach is to expose for the brightest part of the light. Pay attention to the histogram and make sure the highlights aren’t clipped at the right side.
If the dynamic range of your shot is too wide for one shot then consider shooting a few pictures at different exposures and blend them all together.
Read more about bracketing and HDR here