There are a couple of signals that you need to watch out for when there has been an incident requiring official intervention.
The following screenshot of the October 2017 FIBA rules illustrates four special fouls.
One of the most common of the four signals, is the technical foul.
To find out about more about technical fouls, or to maybe just find out more, please study the following links to relevant reading/research material:
Rules of the game
Basketball Rules Explained
no commentary video
This years rules
2017 Official Basketball Rules _Final October 2017