Knowing you get relief is half of it. The other half is taking it properly, because a drop done wrong can cost a stroke of its own.
Mark before you lift
When the ball has to go back on the same spot, mark it first: put a ball-marker right behind or right next to the ball, or hold a club on the ground there. Lifting it without marking costs one penalty stroke. So does playing with the marker still in place.
When there is no need to mark
If you are lifting the ball to take relief and will drop it somewhere else, you do not need to mark its spot. It still helps to mark where you are measuring from.
A club-length
A club-length is the length of the longest club in your bag that is not your putter. Measure with that club, whichever one you plan to play next.
Drop from knee height
You must drop the ball yourself. Hold it at the height of your knee when you are standing, and let go so it falls straight down. Do not throw it, spin it or roll it, and it must not touch you or your equipment before it hits the ground.
It must land in the relief area and stay in it
If the ball rolls out of the relief area, drop it again. If it rolls out a second time, place it on the spot where it first hit the ground on that second drop.
If you drop it the wrong way
Dropped from the shoulder, or by your caddie? Pick it up and drop again properly. You can do that as many times as it takes with no penalty, as long as you have not played it. If you play a ball that was dropped the wrong way, it costs one penalty stroke when it was in the relief area, and the general penalty when it was not: two strokes in stroke play, the hole in match play.
Cleaning the ball
A ball lifted to take relief may be cleaned, and so may any ball you lift from the putting green.
In the rule book: Rule 14.