Mosquito-borne diseases, such as dengue fever and Zika, have posed a serious threat to human health around the world. Controlling vector mosquitoes is an effective method to prevent these diseases. Spraying pesticides has been the main approach of reducing mosquito population, but it is not a sustainable solution due to the growing insecticide resistance. One promising complementary method is the release of Wolbachia-infected mosquitoes into wild mosquito populations, which has been proven to be a novel and environment-friendly way for mosquito control. In this paper, we incorporate consideration of releasing infected sterile mosquitoes and spraying pesticides to aim to reduce wild mosquito populations based on the population replacement model. We present the estimations for the number of wild mosquitoes or infection density in a normal environment and then discuss how to offset the effect of the heatwave, which can cause infected mosquitoes to lose Wolbachia infection. Finally, we give the waiting time to suppress wild mosquito population to a given threshold size by numerical simulations.