Law firms specializing in personal injury cases are targeting ads at people sitting in emergency rooms, and there's probably very little you can do about it. If you want to keep information about your health private, use an ad blocker, and avoid ad-funded apps & services.
In fact, please just go ahead and do those things anyway. Someday you'll be very glad you did.