The phone number of the taxi company in many cities is usually displayed on the side or back of the vehicle. In major tourist areas, there may also be a hotline or app that you can use to hail a taxi.
In general, if you need to contact a specific taxi company, I’d recommend looking for their website or searching for their phone number online.