My advice would be to set up some cones on a grass surface. Practice leaning the bike into the turn, use your hips to help steer (think skiing), and keep your eyes up (always looking at the next turn/feature.) As you get more comfortable, increase speed and decrease distance before taking it to dirt and the trails.