Change multisite to single site

I have installed wordpress multisite, but there are a lot of errors, I want to change to single site without reinstalling how