You can see a diagram of the Falcon 9 launch profile at the beginning of Hobbes's answer, so I won't repeat that here.
Note: This answer is not intended to be a complete, scientific treatment of the subject. I knowingly and deliberately simplify, gloss over and ignore things in several places, in order to explain this in a way that hopefully makes sense to the OP while still being reasonably correct.
There is a common misconception that space is simply "high up". It is not. You can get to orbital altitude quite easily, and if you do nothing else, once you turn off the engine, you will simply fall back down to the ground. This is because, to take one example, the gravitational attraction of Earth at the altitude of the International Space Station is approximately 90% of that on the surface.
Rather, space (or more accurately in this case, orbit) is when you are going forward very fast. In fact, you have to go forward so fast that your forward momentum matches the downward momentum imparted by gravity. In order to establish a stable, low (a few hundred kilometers up) orbit around the Earth, you need to move sideways at somewhere in the range 7,000 to 8,000 meters per second. This is called orbital velocity, and the value of it becomes lower as you move farther away from the central body (because the gravitational influence of the central body falls off with the square of the distance). If you are having trouble visualizing how fast this is, consider that the ISS, which is in low Earth orbit (about 400 km altitude) circles the Earth once every 90 minutes. The Earth's orbit around the Sun works in the same way, only that the Earth is moving at about 30,000 m/s to make a whole revolution around the Sun in about 365 days.
So a rocket spends most of its energy to gain that sideways velocity. It obviously spends some energy getting to the correct altitude, because altitude and velocity are intricately linked in the field of study we call orbital mechanics, but the vast majority is spent gaining forward speed, not altitude.
An orbit has a value known as its eccentricity. The eccentricity of an orbit is, very basically, a value indicating how circular it is. A perfectly circular orbit has an eccentricity = 0, and an elliptic orbit has an eccentricity in the range $0 < e < 1$. It is also valid to have $e \ge 1$, but we don't need to consider those cases here (those are escape trajectories because they are leaving the gravitational field of the central body). Perfectly circular orbits are a largely theoretical construct which mostly doesn't exist in real life; all practical orbits have at least a small, non-zero degree of eccentricity.
For orbits with very low eccentricity, and where the mass of the object in orbit is far smaller than the mass of the body it is orbiting (such as a spacecraft in circular orbit around the Earth), we can estimate the orbital period $T$ based on $$ v_o \approx \frac{2 \pi a}{T} \Rightarrow v_o T \approx 2 \pi a \Rightarrow T \approx \frac{2 \pi a}{v_o} $$ where $v_o$ is the orbital velocity and $a$ is what is known as the semi-major axis (half of the linear distance between the two points farthest apart in the orbit, which for circular orbits becomes the orbit radius). As you can see, there is a close relationship between $T$, $a$ and $v_o$.
On Earth, if you want to slow down, you can simply stop applying forward thrust. Friction will then eventually (generally quite soon) cause your vehicle to lose forward velocity, and it will eventually come to a stop in one manner or another. This is independent on the construction of your vehicle; it could be a car, a bicycle, an airplane, a helicopter or a race horse, and that doesn't matter.
In space, there is no (or rather, for all intents and purposes and over short periods of time, negligible) friction. Hence, if a spacecraft turns off its engine, the spacecraft will simply continue in the orbit caused by its current velocity and current position within the local gravitational field. Unlike an airplane, the spacecraft can be pointing in literally any direction, and orbital mechanics doesn't care; unlike an aircraft, a spacecraft is not operating within any fluid medium. To turn around, change its direction of travel, or stop, in space, a spacecraft needs to apply additional thrust in some direction other than the direction of travel. (There are other ways, such as gravitational slingshots, but those are basically a special case of this, and those don't apply to Earth-orbit launches anyway.)
Such thrust is commonly, but far from always, applied retrograde. Retrograde is one of those funny words in rocketry and orbital mechanics; here, it means "opposite to the direction of travel". In a car, it would be called "in reverse and with wheels pointing straight ahead".
Applying thrust partially or fully retrograde has the effect of slowing down the spacecraft's forward speed. Because this means that it can no longer keep up its current orbit, it will start falling in the direction of the prevalent gravitational field, which in the case of a low Earth orbit and thrusting for reentry eventually causes the spacecraft to reenter the Earth's atmosphere as it falls toward the Earth. With less thrust, or by thrusting in a direction other than fully retrograde, it will cause the spacecraft to settle into a different orbit, which may or may not intersect Earth ground or atmosphere. The change of velocity resulting from this thrust is what we call delta-v, from the Greek letter $\Delta$ which in mathematics is used to indicate difference, and $v$ which by convention is the symbol associated with velocity. The change of velocity needed to settle into a different orbit, even an Earth-intersecting one, is commonly far lower than what was required to establish the original orbit; for example, the Space Shuttle was commonly in an orbit similar to that of the ISS, but only needed approximately 90 m/s of delta-v under power to commit to landing. Once committed to landing, the space shuttle did not have enough engine power to get back into a stable orbit around the Earth.
As the engines are fixed in place at one end of the spacecraft and the spacecraft is generally pointing prograde (in the direction of travel) after the engines have been shut down, the spacecraft has to turn around before it can apply any significant thrust retrograde. Thus, it has to flip over. Because there is so extremely little friction in space, it can do so leisurely, without really affecting its direction of travel much at all; in an atmosphere, the vehicle would probably start tumbling and possibly break up because of aerodynamic forces, and aircraft need special considerations to be able to perform anything resembling similar maneuvers.
The rest is merely an elaborate dance to get the spacecraft to settle down slowly and safely in an appropriate spot on the Earth's surface. Phew. Putting it that way makes it sound downright simple.