Why is my pc restarting more than 20 minutes

My pc is restarting more than 20 minutes now after I activated Avest why?

You will need to provide further info for anyone to help
For Example:
Which OS
Which Avast
What version etc.