If the oil pressure warning light comes on while driving, you must stop the car as soon as is safely possible and turn off the engine to avoid damaging it. If this warning light is on, it may simply mean that the engine is low on oil and should be topped up. In some cars, the low-oil warning light will be yellow in this case.
If a low oil level is not the problem the car must be towed to a workshop.