In a certain range ?
I mean is any pattern or rules a pilot have to follow.
example : within a range of x miles from landing the plane must keep the altitudes of y feet.
In terms of just keeping the plane flying, there are no restrictions. But in terms of air regulations, there are lots of restrictions.
Normally airliners fly under instrument flight rules, which means (in part) that they are constantly under the surveillance and guidance of air traffic controllers who watch them visually or by radar from the ground. The ATC tells aircraft which altitudes to fly and when, and the changes in altitude given by ATC are carefully organized to prevent any conflicts with other aircraft and to optimize flight conditions for each airplane.
Usually, after departure, ATC will restrict an airliner to some specific altitude, such as 7000 feet or 5000 feet. This may also be published in the departure procedures that the airliner follows. Once the aircraft is a certain distance from the airport (it varies with direction, traffic, and other factors), ATC will clear the aircraft to a higher altitude, and ultimately to its planned cruising altitude, which is usually above 20,000 or 30,000 feet.
As the aircraft approaches its destination, ATC will clear it to lower altitudes. Most airliners glide into their destinations with engines set to idle, as this is the most fuel-efficient way to arrive, and so ATC will start clearing them to lower altitudes as much as 100 miles from the airport. Ultimately, as the airplane comes in to land, it will follow a published procedure that sets tight restrictions on the altitudes to be flown and the descent rate of the aircraft, so that it comes in to the runway very precisely for a good touchdown.