An affiliate program works by having affiliates promote a merchant’s products or services in exchange for a commission on sales. Affiliates can use various methods, such as writing blog posts, creating social media posts, or running paid advertising campaigns to promote the merchant’s products.