Hello and welcome to Just Answer, my name is Matt.
This can happen if the engine oil level is low.
Have you checked the oil level?
I would check the oil level right away!
If it is not low, then the most likely cause is the oil pressure sending unit. This is a small sensor on the engine that sends a signal to the oil pressure gauge.
Hello, following up with you...