You need to dial 00 first for all international calls made from Latvia.
For example: To call Turkey from Latvia, you should dial: "+371 + 90 + phone number"(90 is the country code of Turkey).