There is no such thing as a world wide patent. If patent protection is required then separate patents must be obtained in relevant jurisdictions.
Applications made in most countries within 12 months of the first application that discloses the invention (either a provisional, standard or innovation application) are entitled to claim the filing date of that earlier application as their priority date. Thus there is no urgency in filing foreign applications. A single foreign application may claim priority from multiple applications so long as the earliest was made no more than 12 months before the foreign application.
Foreign applications may be made directly in each jurisdiction or, for most countries, via a PCT Application . Generally applications in individual countries are required. Regional applications may be made in Europe and Africa.