You need to position your ball properly if you want to have the correct impact on your ball. The impact of the ball is determined by the position of the golf ball and the way you strike. If you know the trick here, you can control the flight properly. As you start swinging, your club moves around and then up. Then it goes down and back to finish. Then the club descends on the ball. The club touches the ball and continues its motion down into the grass. The divot should be on the object side of the ball. Shorter clubs are made to strike the ball at a steep angle. If you have long clubs then you can swing at a shallow angle.
If you have short irons-wedges, say around 9-iron and 8-iron, then you need to play the ball in the center of your posture. This helps you get a steeper angle at impact that produces a divot on the target side of the ball. If you have middle irons like 7-iron, 6-iron and 5-iron then play the ball left of center. This helps you play at a shallower angle of approach having a slight divot on the target side of the ball. If you have long irons or fairway metals, then you will need to play the ball two balls left of center. This way you can achieve the shallowest angle when the ball is on the grass.
Keep practicing these positions to improve the flight of your ball.