To elaborate just a bit more on this, is try to be aware of where everyone is before you get the puck and where you think they're going to be when you do have it. It would also help to learn the generic idea of the positioning for each skater's position like the C, the LW, etc so you at least have an idea of what/where your options are going to be.
Also, to reiterate on what others have already said - develop your skating, puck protection and different stickhandling skills so you can buy time in case no one is open. And never underestimate the power of a curl around or tight turns! Become comfortable along the boards and phonebooth stickhandling where the puck is a lot closer to your feet as opposed to open ice stickhandling where it can be farther out.
Mistakes happen, just keep practicing.
Ugh, phone booth stickhandling... one of my greatest flaws haha. I seriously have trouble stick-handling behind the net or in the corners and usually just try and use my body to box the other guy out... problem with that is, it's harder to move the puck when you're protecting it with your body and I usually hope that the center comes and takes it while I shield it.
Try choking your bottom hand up a bit more to help with phone booth style stick handling, it helped me a lot. Once you get comfortable, you'll want to use it in open ice. I find that D aren't as aggressive with me in 1v1 situations since it seems to give me more space lateral movement wise.