You can change several settings, including online status, who can see your posts, and who can see your gamertags.
- Ensure you are logged in to your Account.
- Navigate to your Profile screen.
- Click on the menu button (≡) in the upper right corner, or the "Edit" button in the upper left corner.
- Select "Settings" -> "Privacy & Safety"