How To Stop Avast Premium Security from Doing Scans whenever It Wants to

In the middle of whatever I was doing on my computer, Avast Premium Security started scanning the computer. I looked in settings-protection-virus scans but can’t find a setting for scheduling scans or, more importantly, preventing automatic scans from running. How do I do this?