Assuming that your question is sincere:
XKeyscore is a passive tool that listens for unencrypted network traffic. Use HTTPS and you're good.
Also, apply the latest security patches. Not because of the government, but because otherwise you'll be hacked by random dudes.