If you have an Android phone, you can use the Find My Device feature to locate your phone.
Find My Device depends on two things being enabled: the feature itself (of course) and Google’s Location services. In addition, the phone also has to be turned on and signed in to a Google account.
The Find My Device feature comes as part of the standard OS on Pixels and several other Android phones, and is usually turned on by default. Some Android models may offer a different app; for example, Samsung phones have their own Find My Mobile app.