Operating oil and gas well