iMac keeps shutting down and experiencing slow performance
Lately for what seems like no reason my iMac just shuts. When that happens the computer restarts and after a few minutes I can continue to use my computer. But, that scenario continues for a few times. This is something new that just started yesterday, and now I notice this morning my iMac computer is working sort of peculiar. Just sort of slow in responding. This is the first time this has happened, so I concerned.
Any suggestions as to what is happening and how do correct the problem/situation I would appreciate. Unfortunate, I am not a computer wizard so I'm sort of lost hear.
[Re-Titled by Moderator]
Original Title: iMac keeps shutting down
iMac 27″, macOS 12.7