Fair question.
It is something I turn off so I don't remember for sure. Typically it comes up during the installation process. If your distro is using "Software Updater" it should be an option in it's settings called "automatically check for updates". This is on Ubuntu 25.04. Although it has been updated a few times from the version it was originally.
But whatever program is being used for updates should have options that will probably get you there.