Oil light comes on when I come to a stop

FIRST, replace the sending unit…Then have the actual oil pressure checked with a direct reading gauge at various RPM levels…If the oil pressure turns out to be on the low side overall, you can drop the oil pan, clean the oil pump pick-up screen and replace the pump…If the engine is sound, this should cure the problem for a reasonable amount of money…