The mining skill is used to get ores and metals from rocks. The ores can then either be sold or made into different objects using the smithing and crafting skills. To mine, the only object you will need is a pickaxe. These can be bought at the axe shop in Lumbridge for 1 gold coin. Rocks can be found at the various mining sites in the RuneScape world.
If you right click on a rock, you will get the option to prospect it. When you successfully prospect a rock, you will be told what sort of ores you are able to mine from it. Sometimes you will fail to find the ore, so you may need to try prospecting the rock several times to make sure there really is nothing there that you can mine. If your mining level is too low to mine an ore you will not be able to successfully prospect for it either.
To mine a rock select your pickaxe
from your inventory
then left click on the rock
you wish to mine. If there is an ore in that rock there is a chance you will extract it, provided your mining is high enough to mine that particular ore. Ore is quite hard to get out of rocks - it might take quite a few attempts before you meet with success. As your mining level gets higher it will become slowly easier. Once someone has taken from a rock there will be no ore available to mine from it for a short while, wait a bit and you will be able to mine ore from it again.
Mining is a fatigue skill which means as you mine your character will slowly tire and eventually need to find a bed to rest on. Eating food will also reduce your character's fatigue slightly. For more information on fatigue please see our fatigue guide.