In your Google Analytics Admin area (not within a site), you can create a Filter.
At the bottom left, click Admin, then "All Filters" in the next column (see screenshot). You can choose to exclude by IP, which is likely the best way.
Depending on if you're using a WordPress plugin, they will sometimes have options built in for this.