Learning magic tricks is similar to learning something new in school. You dont expect to learn things right away but with the right attitude and discipline, you will be able to become better at it in the long term.
The first thing you have to do is figure out why you want to learn magic Chances are, you are not doing this for the money because there is not that much you can get from it except if you become very famous like David Copperfield or David Blaine.
For some, they simply wanted to follow the footsteps of their favorite magicians which they saw as they were growing up. Whatever your reason is, that is up to you.
Before you start learning magic tricks, you have to learn its history. Magic has been used for hundreds of years. Technology has helped make it bigger than it has ever been but in order to understand it, you have to learn how and why it works. From there, you will learn the various techniques and get an idea what you want to specialize in.
Once you have figured that out, it is time to learn the basics. There are books about magic tricks as well as tutorials which you can view online. Study them and then see if you can do the same...