How to undo an update?

I made the mistake of updating my late 2012 mac mini from Sonoma to Sequoia and now it is so slow that it is almost unusable. It ran perfectly on Sonoma and I would like to downgrade if possible>

Author: @Extreme-Swim-5998