When trying to learn a new subject in mathematics from a book I usually find myself mostly learning the theory directly presented there(reading through all the theorems, proofs, definitions etc.) not solving many(if any) of the exercises suggested after every chapter/section.
The same question always bugs me: how do I find a balance between following the book and solving the problems? On one side, if I solve the problems I get some practice coming up with proofs by myself and deepen my understanding of the studied section, but on the other hands, I could spend that time expanding my knowledge, getting to know more interesting theorems compared to the rather simple, boring ones contained in the problem sets and could get to know more different fields of mathematics sooner. What are your thoughts on this, how do you decide what you should focus on?