Just get more time on it... And it wouldn't hurt to have someone set the shock for your weight, it will balance the bike a little better. But mainly, just ride it more
Your friend was right in a sense, let the bike do the work, try to relax your upper body and hold on with your legs. You don't always have to grip the tank, but try to be very light on the bars.