Please note that you must be in the territory of Latvia, or at a port of entry (an airport, land border crossing check point or seaport) before you can apply for asylum in Latvia.
If you are afraid to return to your home country or the country where you lived previously because of grounded fear of violence, persecution, war or if you are in danger of suffering serious harm in that country, you can apply for asylum, e.g. international protection, in Latvia. The first step to receive international protection is to apply for asylum.