They claim illegal activity has been committed in your name. They might say you should dial 1 to speak to an operator.
The scammer will try to scare you into handing over money and may threaten you if you refuse. This is a scam. Hang up on any automated myGov phone call.
Read more about myGov scams.