If you're referring to OTA (over the air) system updates, there is really only one way to prevent the updates: root your phone and install a custom recovery like ClockworkMod or TWRP. Just know that rooting gives you dangerous privileges, like the ability to edit critical system files. Rooting will also generally void your warranty. Make sure you know what you're doing before you do it.