A team's foul count will reset at the end of each quarter or half.
If a team reaches the foul limit for team fouls, they are in a penalty situation. There are two types of penalty situations in basketball:
The bonus is different in the NBA and college basketball. You can learn more about penalty situations in Basketball Bonus and Basketball Double Bonus.
If a team commits seven fouls in a half, they are in the bonus. The bonus is also called the one-and-one in college basketball because the free throw shooter receives one additional free throw if the first one is made.
You can learn more about the bonus in Basketball Bonus.
When a team is in the double bonus, they get two free throws every time a player is fouled. A team is only in the double bonus once they've committed ten fouls. The double bonus only exists in college basketball.
You can learn more about the double bonus in Basketball Double Bonus.