whirlpool refrigator lights not working

The light in the refrigerator went out and the lights on the controls are out but it is still working and now when you open the door it makes a clicking noise. I need to know what part to order and how to fix it