Here's a basic explanation of how dual specs work.
A) You start off untalented
B) You spec like you normally would for your main spec.
C) In your talent tree, just like you would spec your pet, there is a new button to view your seconday spec.
D) When you click the button "Activate these talents" It switches your glyphs and talents to your secondary spec. Starting off, it is untalented.
E) You then spec/glyph your secondary spec, and when you want to change you click "Activate these talents" again to switch to main spec.
Each time you switch it takes 5 or so seconds to cast, and resets your mana to zero. As well as triggers global cooldown.