Depending on the whatever it is phone or tablet you've got there, and possibly if it's a carrier version, there's a chance you might not be able to prevent it from updating, not without root. From experience I know the Samsung Galaxy Note7 had forced mandatory OTA updates, that couldn't be prevented.