as stated .. list your full system specs so others can better help you .. including make/model of your Power Supply
Some generic tips that might help
Update your Motherboards BIOS
Make sure your Windows install is up to date
Make sure you are running the latest chipset drivers from AMD.com (or Intel.com if you are running an Intel chipset)
Make sure you are running separate power cables to each power input on your 5700XT
Check your systems Event Viewer for logged errors that might point to what is causing you issues
Check your CPU/GPU temps
Make sure your case has good air flow to not only keep your CPU/GPU cool(er) but to also keep your VRM's and RAM cool(er) as well
IF you are overclocking anything .. run at default speeds and see if that helps