The COIVD pandemic has swept the globe since 2019, posing a grave threat to human life. There are multiple ways for the government to control the pandemic, including promoting the vaccination, limiting the number of people in public places, requiring people to wear masks in public places, and suggesting infected people isolate themselves. In this paper, we used a compartmental model to analyze the spread of COVID-19 under the promotion of rapid tests. The result shows that popularization of rapid tests may have a significant impact on controlling the pandemic. With an estimated minimum requirement for the use of rapid tests, we are able to put forward suggestions on reasonable ways to curtail the pandemic.