Jesus taught his followers through sermons and parables.
Jesus taught, “When you pray, do not be like the hypocrites, for they love to pray standing in the synagogues and on the street corners to be seen by men … but when you pray, go into your room, close the door and pray to your father who is unseen.”
Jesus began his teaching on prayer here by saying how not to pray:
Jesus said that prayer should be a private time between God and the worshipper. Jesus does not mean that it is wrong to pray with others, but the prayers should be sincere and for the right motives.