A study published this week in The Journal of the American Medical Association, there is a connection between hip fractures and certain heartburn drugs such as Prilosec, Nexium, and Prevacid. All three medications are proton pump inhibitors. The largest risk was found in those taking large doses of the drug for more than a year.