How Contagious Is Pneumonia?

I'm trying to find out if pneumonia is contagious. I have found everything else about this illness except if one can catch it from someone who has it. Any help