If your phone boots normally and the Magisk app opens, this is the safest and easiest method.
If the methods above fail, or if you are returning a phone for warranty repair and want to ensure it is 100% stock, you should re-flash the official factory firmware. uninstall magisk