If you are learning to volley, the main thing to keep in mind when using it during play is to hold back on your first volley and save the angles and speed for close in volleys.
Attempting to win the point from the service line when volleying generally loses the point. Work your way forward with a deep volley if possible and one that allows you to easily cover the angle of return from your opponent.
Save the full swinging volleys for high and slow returns commonly known as floaters.