What is the best way to farm ore in Terraria?

I have gotten back into Terraria, and have played for several hours over the past week. I find that only low-quality ore seem to spawn in big chunks.
At my current level, most of my gear (Weapon, Pickaxe and Hatchet) are made from lead.
While I rarely find large chunks of lead, anything higher is lucky to spawn in quantities of 4-5.
I have read guides that detail accessing high-level ore in the quantities of a thousand, however, I find this an unrealistic expectation off my experience. So I have a "double-edged question".
Is there an efficient means for farming the higher-quality ore pre-Plantera, or am I deliberately expected to explore enough to uncover the patches of 3 or 4?
Best Answer
The other answers are okay, but are not comprehensive, so I thought I'd take a shot at giving you some more options.
Obtaining ore is one of the biggest motivators for exploration in Terraria. Without ore, you can't upgrade your gear. Without gear, you're unable to progress effectively.
So where do you get the most ore from? As other answers have stated, in the beginning of the game you're quite limited. You have to travel underground and mine out any small pockets you find. Occasionally, you'll find chests - these chests usually have a few ores in them as well. Slimes also rarely drop ores, though I wouldn't recommend this as a primary source of resources.
This process of mining out small patches of ore in random parts of the map can be tough and tedious... especially after beating the Wall of Flesh, at which point you break demon altars to spawn more ore randomly across your map and you have to backtrack and re-mine everywhere. Luckily there is a potion that can help - the Spelunker Potion. This potion highlights all treasures (including ores) on your screen, regardless of whether behind walls or not. This means that not only can you make a beeline directly toward any ores you see, you can focus on only mining the ones you want.
Another way to obtain ores, as synobeam mentioned in their answer, is through the use of the Extractinator, which converts silt and slush into coins, gems, and ores. Though the rate of return is a little low, it's still a nice boost and silt/slush is easy enough to collect.
Probably the most tedious but efficient ways of getting ore quickly is to go fishing. When you catch a fish, it has a small chance of being a crate instead of a fish. This crate, when opened, has a chance of dropping ores or even full bars of various metals. In fact, it is considered a very effective way to start hardmode with a collection of a hundred crates - this way, when you open them all, chances are quite high that you will end up with enough bars/ores to craft a full set of adamantium/titanium armor. I've done this several times in several playthroughs - it's nice to be able to completely skip the risk of breaking demon altars.
Of course, there are a few ores which can be obtained in slightly more effective ways. Demonite ore, for example, is primarily obtained by defeating the Eye of Cthulhu and the Eater of Worlds. Chlorophyte can be mined in the jungle, but it can also be farmed (see this guide or the wiki for an explanation of how). And finally, Luminite ore (the strongest in the game) can only be obtained by defeating Moon Lord.
Pictures about "What is the best way to farm ore in Terraria?"



What is the easiest way to get gold ore in Terraria?
Gold Ore is also very commonly found on Floating Islands, and seems to also be near/inside Lava pits closer to The Underworld.Fastest Way to get Hardmode Ores in Terraria 1.4! No Pwnhammer or Molten pickaxe needed!
More answers regarding what is the best way to farm ore in Terraria?
Answer 2
In my opinion, the best way to get ores early-ish is to just explore. There is one machine that turns your average silt you literally find everywhere and turns it into ores! I have used the machine many times and I have gotten many ores that are better than lead. It may take a bit to find, but it is so worth it in the long run. Also, later in game when you have beaten the Wall of Flesh, I suggest that you start to find choypyte, because it is an ore that you can actually farm.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Johann Piber, Greta Hoffman, Artur Roman, Maria Orlova