My dome wont wont work...

Wzup fellas…my interior dome light wont work when I open the door. It works if you put it in the ON position but only then. How could be wrong and how could I fix it?

check the switch on the door. its like a black L shape thing that pops out when the door is open and pushes in when the door is closed.

thanx, thats wat it was…