You need to rely on the PCT system which is provided by WIPO.
The first question you need to ask yourself is whether you are a citizen of a country which is a WIPO member state. If that is the case, the proceeding is quite clearly described on the WIPO website (https://www.wipo.int/pct/en/).
The steps should be as follows:
1) Contacting a patent specialist to help you search existing patents and publications to check whether your invention is patentable
2) Relying on the patent specialist for drafting the patent in a clear language
3) filing the patent with a PCT authorized patent office (where a thorough technical examination will take place): US, Japan or European Patent Office.
4) selecting your countries of interest.
That is quite a complex process. I would advise to get professional assistance.
This is also quite an expensive process as you would need to pay administrative fees and translation fees for each jurisdiction. The costs for filing a strong and useful international patent will therefore amount in the several ten thousands of euros.
You need to carefully select your jurisdictions of interest. If Europe is your main area of business. Filing a patent with the EPO would be a great alternative.