What do you do when you pray but things get even worse?

It is almost as if things get worse the more you pray about them. Especially things that have to do with health and sickness. My mom lost 3 cousins this year. For one of them I prayed like a dog, and he got worse and died. There was another woman who I prayed for that had complications after her surgey, she also got worse and died. I am honestly scared of praying now cause what if it makes it worse