Forum:Main Phase steps question

Is there a order to the steps during Main Phase 1? Does a monster have to be set/summon, then trap/spell cards? Or could you activate a spell/trap, then summon? Say as in Dark Hole and destroy all monsters, then summon yours.