Check to make sure the oil pressure switch isn’t leaking. Some are screwed into the block next to the oil filter.
Tester