On Google Analytics, go to Admin > Account > All Filters. Click Add Filter. Enter a filter name (e.g. exclude my own visits) From select filter type drop-down, choose Exclude.
Why does Google Analytics keep tracking me?
By default, Google Analytics tracks each and every pageview on your site, including admin pageviews and visits by bots. So, when you're writing, editing, and previewing your site, it records each of your visits as a real pageview and prepares reports including those logged in pageviews.
Does Google Analytics count yourself?
The thing is, Google Analytics counts each visit to your website, including your own, as real data. And since you're not a 'real' visitor, you'd typically do things that your real audience wouldn't do, and as a result, you'll skew the accuracy of your data.