Ways you can get infracted: first of all you can get banned for farming, being racist ingame or just using +18 words and / or majorly harassing person or people ingame.
Then duel scamming, other scamming.
In forum, you usually get infracted for not following rules which are basically in each of the sections posted in a thread I think and you can find them there.