Forum:Side decks and Extra Decks

Exactly how are the side decks and extra decks used in a duel. I'm a bit confused so elaboration would help.