system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Because science and medicine has been wrong for so much of history, how do we know science today is correct?
gpt
We don't know, but at the same time, 'science has been wrong' tends to be a lot of cherry picking, that is, looking for the times it has been wrong, or generalizing off a few opinions and not a broad consensus.

Typing this on a computer that uses quantum mechanics to make small chips that work, likely communicating over fiber optics that carry data over the internet, and reading off a monitor who's pixel colors were designed based on human eye biology, and seeing everything looking nice, science has a good enough track record for me to consider it fairly reliable.

As a bonus, the best way to become a successful scientist is to demonstrate that other scientists are wrong in a clear and convincing way, so there is a lot more testing of stuff that becomes established as 'science' than most people see in most fields.