Since everyone else here has just given you general answers I am going to one up them and tell you exactly what to do.
1. Find a mentor - Find someone that has obtained the success you want. Therefore you know they will be worth modelling and spending time replicating.
2. Reverse engineer it - Figure out exactly what hey do. Try to do it better than them. Be in it for the long run and you will get the same result they had if not better. Remember consistency is key!
(I've been doing affiliate marketing now 3 months. The first month I made $0. Second month I made $300. Just finished May doing $1,200 and on track for $2,400 - $2,600 for June.)
3. Have a long term vision or plan - Have a long term vision of what you want to accomplish. Know the path you want to take in as much detail as possible.
4. Set realistic goals & milestones - Set realistic goals that you know you can achieve. For me, my goal in May was $600. I did $1,200 with affiliate marketing. Sometimes you will surpass your goals like crazy. But not every month you will hit them either. Again, keep in mind my first month I did $0.
It's an uphill battle in the beginning but it is 100% worth it! Constantly remind yourself the rewards are the light at the end of the tunnel.
99% of people aren't willing to fight the uphill battle...but guess what? Once they get to the top of the hill it's smooth sailing downhill from there!