Open Discord and go to User Settings. In the first tab on the left, My Account, you will find the Change Password option. In the new window that opens, you need to input your current (old) password, then write your new, secure password and click Done.