Some people ask why use medicine when prayer heals. First of all prayer heals a lot of spiritual ills. Secondly God wants us to use the faculties and resources He has already provided us and then ask for His help. If we are not using what He has already given us, it doesn’t make sense to ask for more. He wants us to make the maximum effort we can and then ask Him to make those efforts fruitful and beneficial.
There is no conflict between prayer and science. Science describes the facts we have discovered about this world. Prayer goes beyond science.
Science is limited by our God given faculties and effort and time. Prayer is limited by nothing, just like God Himself.