Ubuntu in my new build is unresponsive after opening the browser or any applicat

Hello everyone,

I have an issue with my new build.

I have installed Ubuntu 20.04.1 LTS. However, after a few minutes opening the terminal or opening the browser the whole system becomes unresponsive. Sometimes the screen starts flickering too. I have already tried updating and searching for the latest drivers. I’m not sure what could be wrong here.

This is my new build:

Motherboard: GIGABYTE X570 I AORUS Pro WIFI (AMD Ryzen 3000/X570/Mini-Itx/PCIe4.0/DDR4/USB 3.1/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/Gaming Motherboard)

CPU: AMD Ryzen 7 3700X 8-Core, 16-Thread Unlocked Desktop Processor

NVM SSD: Crucial P1 1TB 3D NAND NVMe PCIe Internal SSD, up to 2000MB/s - CT1000P1SSD8

DRAM: Crucial Ballistix 3200 MHz DDR4 DRAM Desktop Gaming Memory Kit 32GB (16GBx2) CL16 BL2K16G32C16U4B (Black)

GPU: Sapphire 11296-01-20G Radeon PULSE RX 5600 XT 14GBPS 6GB GDDR6 HDMI / TRIPLE DP OC w/ backplate (UEFI) PCIe 4.0 Graphics Card

Thank you so much for your help.