Whether you've got an iPhone or an Android device, here's a step-by-step guide to safeguarding your privacy