like every sport you have to practice to get better. When you practice pitching you will need a net, or someone to catch for you, also your glove and some balls, cleats or tennis shoes.
You can also have a pitching mask, for games. That will protect your face from a line drive.