Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Pretty self-explanatory, but an option you could apply either through a command or through the options menu where people are blocked from sending you invites to things like battle rooms, help tickets, group chats, etc.