the light is a warning light of low oil pressure
as when you first turn ignition on there is no oil pressure
when you start the engine oil pressure quickly builds up the light should go out if not
1st check wiring
2nd replace oil pressure switch
3rd get oil pressure gauge and check pressure
if low requires new oil pump or has blocked pick up in sump
hope this helps
tommy