Topic: red oil light on

Hi guys I'm abit worried while driving in traffic my oil lightwent on and the car stalled and switched off. It took a while to start and went on driving and happened again! Is my oil pressure too low? Is my oil pump going?do I need to replace it before any further damage to the motor?or is it just my oil switch faulty?thanks