Frequent Freezing then Crashing on Fresh Install of Fedora 40 Budgie Spin

Apologies if this is a redundant question however, I have not been able to find a solution to my problem. I’ve tried doing a fresh install many times and installing the right dependencies. I’m relatively new to Linux so this has been very discouraging.
Whenever I try to use a web browser or play a video, my computer will freeze and eventually go black. The only way to fix it is to hold down the power button until the computer reboots. This seems to happen at complete random. Sometimes I don’t get a crash for a couple days and other times I cant even use the computer for 10 minutes. The offending device is a Framework 13 with and AMD CPU.
Any help would be greatly appreciated as even with my current problems with the OS I still prefer Fedora to Windows. I would be pretty sad if I had to switch back to Windows (currently not dual booting with another OS).

Could you care to read the post linked below and see if it is the problem that you encounter? There may be a solution for you in there