Wow! Awesome photos everyone.

I tried to get a few action pictures when we went to see the Cincinnati Reds play yesterday. I'm terrible at this photography stuff. What settings do you use when you are trying to capture some action shots? I had mine on the P setting with the iso at 400. The pictures come out grainy though. Help!