This is normally one of three causes. A bad gauge, bad sender unit or the oil pressure is too high.
1.) If the gauge returns to zero when the ignition is switched off, the gauge is unlikely.
2.) Remove the sender and attach a known-good mechanical gauge. If the oil pressure is correct, replace the sender unit with a new one.
3.) If not the most likely cause would be a stuck bypass valve in the oil pump.