When Are People With COVID Most Contagious?

With the rapid spread of the omicron variant of COVID-19, when are people who have contracted the virus most contagious?