First, check your oil level. Assuming it's OK, take the wire off the oil pressure sender, tweak it with some pliers, and reconnect it. If the problem keeps up, find a diagnostic oil pressure gauge and hook it up and see what's up. If all is OK, just install a new sender.