YouTube is your friend. There is no right way, there is more efficient techniques you can use but it's mostly based on what feels fluid and comfortable to you. The pick should be held between your thumb and side of your pointer finger, and your hand and wrist should be relaxed and comfortable. Picking was actually the biggest struggle for me starting out. Only 2 rules are strum with your wrist, not elbow and your wrist should move fluidly with little tension. Tension causes your picking to be stiff and therefore slower. Just play around with it and muscle memory will find out what's comfortable over time.