I think both are correct. But I'd say if you are quiet rather than if you be quiet. Be quiet may be found as a subjunctive but I don't think it's that common.
Anyway, I'm not a teacher. Wait for somebody else to explain this to you.
- For Teachers