Mack Book air mid 2012 freezes and has to be restarted (Sonoma)

my macbook air freezes and when i forcefully restart it, it shows "your macbook had to be restarted because of a problem" any fix to this?

submitted by /u/PandasAreCut
[link] [comments]