There are no rules.
Big fish will eat small flies, and small fish will try to eat large flies.
You got a 5wt right? Starting out I wouldn't go larger than an 8 until you get experience casting the new rod. Larger flies are more challenging to cast. So, I'd start with easier sizes.
Fly Fishers International certified casting instructor