oil light comes on and lose oil pressure on 2000 Buick LeSabre

when im driving for awhile and the car gets hot the oil light comes on and i start losing oil pressure help

Asked by for the 2000 Buick LeSabre
when the oil light comes does the engine make a ticking noise if not the problem is probably a bad oil verify this you will have to remove the oil sensor and hook up an oil pressure gauge to see what oil pressure is when the engine is hot if its within specs then you have a bad sensor