Always watch at least 15 feet in front of you. Your mind will remember what the obstacles were when your bike gets to them. Other than that tidbit, ride, ride, ride, and then ride some more. It's taken me years to get to the point I am at now, and thats not saying much.
Unfortunately there is no way other way. Experience is everything. Don't get me wrong, reading is good as well but it won't help unless you get on the bike and apply what you learn from the books, magazines, internet, etc.