This is what you could do during a race to result in punishment:
Unsafe safety car restart. Always make sure if you are leading the pack, you keep a consistent pace (no sudden braking or accelerating) of above 50mph. This will result in a dangerous driving penalty as you risk crashes behind you.
Dangerous Driving. Moving under braking; suddenly closing the door; weaving on the straights and incredibly dangerous dive-bombs are all prime examples of dangerous driving. If you frequently do these, you can end up banned from the league
Formation Lap. During the formation lap, you are expected to maintain position. If you keep taking the formation lap like a proper race start and overtaking cars, you can end up with a race ban.