Change username

How can I change the name of my default user?
I’ve tried using usermod both as the regular account and as a new account I created but neither worked
The second account I created said it wasnt in the sudoers list even after manually adding it to /etc/sudoers