The war between Russia and Ukraine broke out even before the world epidemic was over. Since the end of the Cold War, Ukraine has become a key focus of attention for Russia and other European countries, hence the war between Russia and Ukraine has never really stopped, from the trial in political preference to the dispute in market trade. Since February 24 th , 2022, as the formal declaration of war against Ukraine from Russia, the war has been in full swing. With the rapidly changing situation between Russia and Ukraine, the international energy market has also made corresponding changes. This article analyzes the reasons for the trend in international oil and gas prices by comparing the changes in the past five years, and dissects how European countries will react to this situation by learning from historical experience. The paper demonstrates the definite relation between the process of wars and the surges and slumps of energy prices and the potential patterns in it. Through the observation and analysis of the energy market and the assessment of the measures applied by the developed countries in Europe, this paper aims to propose solutions such as phasing out coal-based energy and applying new energy to handle energy disputes so that other countries will be capable of minimizing their losses.