Topics dedicated to this point can help you:
https://forum.axelor.com/t/correct-method-to-upgrade/1690/6
https://forum.axelor.com/t/migration-maj-v5-a-v6-desastre-no-reccomended/3846/21
https://forum.axelor.com/t/how-to-properly-upgrade-axelor/4942