Heel shots are caused because you either move the center of your plane out towards the ball during your swing or you start too close to the ball at address
Maintain a constant posture throughout the entire swing so that your body does not move towards the ball during the swing and cause the heel of the club to make contact with the ball
Rotate your body as you swing and knock an area of sand out of the bunker