Theory is as follows:
3 prong plug for 240V AC power (in the USA) is two hot lines and a ground line. From hot-to-hot is 240V, and from either hot-to-ground is 120V.
Since an electric stove needs both 240V power (for the heating elements, of whatever type) and often some 120V power for things like the light(s) and control board, the only way to get that is to use one hot line/leg/conductor and also the ground line/leg/conductor.
But OMG! You now are 'using' the ground line/leg/conductor to actually -conduct- power and not just as the safety equipment grounding conductor!
Result is a requirement for a 4 prong 240V connection. Same two hot lines/legs/conductors and the ground line/leg/conductor, but now also a "neutral" line/leg/conductor. The 240V parts of the machine/appliance still use the two hot legs and the ground is still the ground, but now parts of the machine/appliance that use 120V power will use one of the two 'hot' legs and the "neutral" conductor to get that 120V power.
If you have a four prong outlet already, just plug-n-play.
If you have four wires in the electrical box but a 3 prong outlet, you would need to connect (or have connected) a 4 prong outlet.
note: If you don't KNOW what you are doing there, have someone who does know what they are doing work on the wiring.
It's not rocket science or brain surgery, but the electrical power involved can be harmful or fatal or cause damage (fire!) if done wrong.
If you only have 3 wires in the electrical box, you'll need to have a fourth wire (the neutral) run from the breaker panel to the outlet box.
Again, you need to know what you are doing in this case. Not rocket science, blah blah blah.