Generic question -> generic help. Without a video, all I can do is to point you to what I consider as one of the best volleys videos online.
There is no magic formula. Study that video and practice, practice and practice. Oh yeah, did I say practice?