The first thing you need to play hockey is gear. There are four important pieces of gear: a helment, skates, your stick, and a puck. There are also a lot of other things like shin guards, socks that go over the shin guards, padded shorts, chest protecters, elbow pads, a jersey, and a neck guard that you will need to stay safe. There are a few other important things you need to know to play hockey too.
You also need to learn how to skate on ice. An instructor can help you skate or you can go to public skating rink, which is all these people going in circles and around the rink. There are also ice-skating walkers to help you skate if you can barely skate.
You will need to learn how to stick handle and how to shoot. You can just take your stick and any kind of ball and try to stick handle and shoot. Or you can get a coach who can teach you how to stick handle and shoot. Personally, that is how I learned.