Any fan ejected from Mile High stadium for hooligan-like behavior must pay to take a decorum class before he or she can attend a future game, according to a new National Football League policy recently adopted by the Broncos.

Completion of the course will be certified and the information forwarded to the team, NFL spokesman Brian McCarthy said.

“It is up to the club to grant the fan access to the stadium,” McCarthy said.

Course author and psychotherapist Ari Novick said if a fan is ejected, their information is taken by security. They will then receive a letter in the mail outlining the requirements to be admitted back into the stadium. Some venues may also require a written apology, he said.

“If they choose not to take the test and return anyway, they may be arrested and charged with trespassing,” said Novick, an expert in anger and stress management.

It is the team’s prerogative to ban a fan is banned for the season or indefinitely should the test not be taken, McCarthy said.

The policy will apply to season and walk-up ticket holders. The cost of the course is determined by the team, according to the NFL.

This addition is part of the 2008 league policy change, which marked the beginning of the NFL crackdown on out-of-control fans.

Denver Broncos spokesman Erich Schubert said the team is still working out the specifics of the policy, which will be in place by the home opener against the Pittsburgh Steelers on Sept. 9.

The program debuted in 2010 at MetLife Stadium, where the New York Giants and New York Jets play, and Gillette Stadium in Foxboro, Mass., where the Patriots play, Novick said. All 32 teams will be using the course this season, he said.

“This is not meant to be punitive,” Novick said, “but rather to educate fans so they can learn how to better handle themselves in the future.”

There have yet to be any repeat test takers, Novick said.

While not mandatory, McCarthy said the ejection/decorum course is considered a best practice, meaning the NFL suggests all teams participate.

Ryan Parker was a reporter for The Denver Post from 2011 until May 2014. A Colorado native, Parker started his career at smaller weeklies and worked for YourHub before becoming a breaking news reporter for The Post.