The word prarthna is more accurate than prayer
First learn what prarthna is then do it
Prayer and sadly in the modern days prarthna is a concept that is either cultural or mimicked by observing others
People either close their eyes and speak their thoughts or feelings to god ( either in the temple or church or home ), or they chant certain names, read religious books, or recite hymns or they follow rites using fragrances, light / diya, and wash adorn adore an idol
Some of those things if done properly helps. Doing it diligently with disciple becomes a tapa and can act like “cash” to get wishes fulfilled
Prarthna is very different from any of it. I should stop here