Backmasking.

Ok I understand what it is. But i'm just confused on how it's done. Do you have to record the message as the song is playing backwards??? or do you record the song forwards purposely to have a message played backwards???? I just don't understand.