Get an oil pressure gauge on it right away and see what you got for oil pressure.
(even an aftermarket oil gauge will do)
The light could be flickering from a bad oil pressure switch,or slugged motor clogging pickup oil screen,weak oil pump or much worst if main bearings and cam bearings are worn...