Shifting body weight for a turn
Before you read this, make sure you understand how to turn a bike.
When shifting weight for a corner, the butt, hips, and upper body should move together and remain parallel to the bike. Use the big muscles of the outside leg pressing against the tank to support your body weight. These principles apply whether you are shifting just a bit for an easy curve, are hanging off a fair ways in the twisties, or dragging a knee at the track. Don't just lean your upper body and leave your butt on the seat, and don't leave your upper body over the gas cap with your butt off to the side. Your head should be upright with your eyes level with the horizon. Note that the head/elbow/knee are off board about the same amount.
When you start to exit the curve, it's time to shift your weight back to the center of the bike. Use the power in the outside leg against the tank, not your arms and shoulders, to haul yourself back on board.
What not to do
The photos in this article are from track days. Going to a track school is the best way to learn and practice this technique. However, hanging off on the track is an extension of the weight-shifting techniques discussed above. Shifting weight for a turn is something that should be done as a matter of routine, but go slowly and work up to this level.
The following photographs show common mistakes and how to remedy them.
In this picture, the rider's outside leg is very separated from the bike. That makes it hard to control your body position, and to bring yourself back on board from hanging off. It can also mean you are supporting your weight almost entirely with your arms and shoulders, which can compromise your ability to keep a relaxed, sensitive arm/hand connection to the steering. Keep the outside knee against the bike. Using the big muscles in the outside hip and thigh should make your whole body more relaxed. This lets the bike work better and reduces the amount of negative inputs from you.
With your body next to the bike on the inside of the corner, your outside knee/calf is what stops you from falling off the inside. You shouldn't be supporting your body weight with your arms. They are steering. Your leg muscles are what should move your body from side to side, not your arms.
Here, the outside leg is far back when hanging off. The butt is hanging off, but the upper body is still mostly over the bike.
Try arranging yourself so that your outside thigh is against or just a little behind the gas tank. Then, lean forward to lower your upper body somewhat toward the inside grip, while still keeping your head upright and turned. That way, your whole inside hip-to-chest-to-shoulder axis is hanging off, more or less parallel to the bike.
As you start going faster, you'll find there is a balance between using your entire outside thigh or just your knee to support your body. If you sit tight to the gas tank, hanging off is very tricky, as you can't spread your legs wide enough to move the body over the side. You'll have to experiment as you learn and see what works best. Some people find they have to sit back a little from the tank. If you sit on the back of the seat, though, the bike will tend to wheelie more (particularly if you have a bike with a little more power than an EX250).
Follow the tips in this article and learn how to move your body when you turn. You'll turn better, and the bike will have to lean less, which will give you more traction. Then, when you're ready to go faster and hang off more, head to track school and get pointers from people who have been doing this for years.