It's not particularly complicated, all in the Football (Offences) Act 1991.
Basically you can't go on the pitch and you can't throw things on the pitch or in the stands. Of course common sense prevails and if you've just won promotion, the title or got to a cup final and thousands of people are...