There's a huge range of different methods for getting visitors to your website, including signaling to search engines like Google that your website is relevant to your topic, and spreading the word on social media. Because of the variety of strategies available to you, you'll be able to find something that suits your strengths to get the ball rolling for your own affiliate website.
There are more than half a billion active websites under the sun and most of the (almost 70%) of them struggle to get traffic due to the high competition and expense of the process like SEO or Digital Marketing. However, you can simple buy targeted traffic from various sources at any time you want! Every paid ad campaign is an attempt to get traffic in exchange of money. However the reasons behind getting traffic are pretty different from each other. Some people buy traffic to get sales, some buy traffic to get leads, some buy traffic for brand exposure, some buy traffic to gain authority and improve rank on several metrics and so more.