Check your compatibility settings
Step 1: Right click your Discord icon and select Properties.
Step 2: Go to the Compatibility tab, uncheck Run this program as an administrator, and click OK.
Step 3: Run Discord again and see if this has solved your problem.
Check your antivirus software
Step 1: Delete the Discord folders in these two directories:
Not familiar with these commands? Check out this post for information about Windows Environment Variables!
Step 2: Go to Program and Features (press Win and R to open the Run box and then enter appwiz.cpl).
Step 3: Delete your Discord program from the list of Programs and Features.
Step 4: Download the latest Discord app from the official website, and install it on your computer.