There's no supported method to downgrade the edition. That being said you can give this a go.
https://woshub.com/downgrade-windows-server-datacenter-standard-edition/
--please don't forget to close up the thread here by marking answer if the reply is helpful--