Go to your WordPress Dashboard > Appearance > Customize > General Settings > Site Identity > Site Icon

Here, you can upload your icon file.

Note:  You can try using some third party services to make a proper size icon file for your site, for example this https://www.favicon-generator.org/

Did this answer your question?