The O2 sensor will not be a cause for your vehicle's problem. The car will not start mostly because of a fuel pump or the ignition system problem. You should check the pressure of the fuel and have a look at the spark as well. If you notice they are malfunctioning, you can narrow the problem down and get more specific with your solution. The ignition system might be at fault, or a sensor could give false readings.