Inevitably you will find your ball in a green-side bunker. It happens to all of us. You should be able to hit the ball consistently with a pitch length swing before you can expect predictable results from the sand. This shot can be intimidating but there are simple adjustments you need to make to ensure success. Once you understand how it works, this is a very fun shot to hit.
If you really struggle with this shot, practice your pitching and full swing. The more consistent you become there, the easier this shot is to execute.