Play them more often. Play as many people as you can that you know are good players.
Once you accept the fact that you could play every shot perfectly and still possibly lose, it might allow you to play better against skilled opponents. Don't focus on winning and losing, focus on the courage...