If your Discord overlay is enabled but not working, you may need to run the app with administrator privileges. Alternatively, you can try temporarily disabling your third-party antivirus app if you use one, or disabling hardware acceleration in Discord.