"б" is of colloquial style, in official it should be "бы" only. Otherwise no limitations.
"бы" expresses the idea of potential or subjunctive. It can be used even without if. Normally "бы" is used where in English "would" is used.
Я бы хотел стать звездой. - I would like to be a star.