You have to do a lot of research, reading and testing and be prepared to lose money, as most newbies lose money when they start off before learning from their mistakes.
I started by creating free micro niche blogs with Clickbank products. Took some trial and error but I eventually made my 1st sale and then improved it from there.