Modeling and predicting the spread of COVID-19