To update your profile and cover photo:
Click on your profile icon in the top-right corner and go to "Settings".
Select "Account Settings".
Under "Profile Image" and "Cover Image", click "Upload Photo".
Choose an image.
Make sure to check the recommended sizes for the best look.