There is no rocket science behind it, and it is more simple than you think. When you recommend some products on your blog post, and someone buys from your link, you will get a certain amount of commission in your affiliate account. Every time you drive the sale, you will be paid.