for production of hydrocarbons with high and medium gas - oil ratio from a well with a wellhead and a bottomhole communicating with a formation , and with a casing and a tubing located inside the casing and forming a space therebetween , steps are performed and means are provided for establishing a flow of hydrocarbon - containing fluid inside the tubing from the bottomhole to the wellhead , introducing gas into the space between the casing and the tubing so that the gas passes into the tubing and enhances the flow of the hydrocarbon - containing fluid from the bottomhole to the wellhead with simultaneous reduction of pressure in the bottomhole resulting in an increase of a pressure differential between the formation and the bottomhole ; and introducing in the bottomhole a device which increases the pressure in the bottomhole so that the pressure differential between the formation and the bottomhole decreases and therefore a gas blockage in a near bottomhole zone of the formation is reduced to maintain an oil flow from the formation into the bottomhole .