The coronavirus is currently extremely contagious for humankind, which is a zoonotic tropical disease . The pandemic is the largest in history, affecting almost the whole world . What makes the condition the worst of all is no specific effective treatment available . In this article, we present an extended and modified form of SIR and SEIR model, respectively . We begin by investigating a simple mathematical model that describes the pandemic . Then we apply different safety measures to control the pandemic situation . The mathematical model with and without control is solved by using homotopy perturbation method . Obtained solutions have been presented graphically . Finally, we develop another mathematical model, including quarantine and hospitalization.