You can change your password from the security settings in your account menu. These steps are for when you're already logged in. If you've forgotten your password, see How to Reset Your Password.
On a computer
Open the menu
Log in to your account, then click on the menu icon (three lines) in the top right corner.
Open Sign-in & Security
Under Settings, select Sign-in & Security. Your account window opens on Security.

Update your password
In the Password row, select Update password. Enter your new password in New password and again in Confirm password. You don't need your current password.

Sign out of all other devices is ticked already. Leave it ticked unless you want to stay signed in on your other devices.

Save your changes
Select Save to update your password. To leave without changing it, select Cancel.
On a phone or in the app
Open the menu
Log in to your account, then tap Menu in the bar at the bottom of the screen.
Open Security & privacy
Under Settings, select Security & privacy. Your account window opens on Security.

Update your password
In the Password row, select Update password. Enter your new password in New password and again in Confirm password. You don't need your current password.
Sign out of all other devices is ticked already. Leave it ticked unless you want to stay signed in on your other devices.
Save your changes
Tap Save to update your password. To leave without changing it, tap Cancel.
Your name, phone number and email address are under Profile on a computer, or Personal information on a phone. Your password isn't on that page.