You can then apply to the nearest Consulate, Embassy or VAC of the country of application.
In most countries, where there is no representation, you will probably find that another Schengen country is handling the processing of your country of interest, if there is no representation directly.
Additionally, from February 2020, the European Union has mandated that all Schengen countries should have a presence in every country, whether by the use of another country’s consular services or through a VAC