A new report found that more than 31 million adult Americans had to borrow money in 2024 to pay for medical treatments.