Baking is weird. You first should start by following instructions to the letter. Then once you get it you'll be able to break all the rules.
The bread rises because of the yeast bacteria eats sugar and expels carbon dioxide. So ask yourself, what does yeast like? Probably not hard to guess that it's a warm, moist environment with plenty of sugar. Too cold and they're slow moving. Too hot and they burn up. But the goldilocks zone is that of most bacteria, a hot summer day in the tropics.
How long to rise? That's more a question of how fluffy you want the bread and how fast the bacteria eats the sugar.
Follow instructions while you're learning but think about things like this while practicing and you'll get your answers pretty quickly. The problem is no one can actually give you a direct answer because there's variance. Besides, the more important skill is to learn to generalize and get the intuition for it. So pay attention to how sticky the dough is, how fluffy, how it stretches, and all the other little things. Think about it during and after. If you do this I promise you'll get your answer very quickly
Yeast is fungus not bacteria. In lab setting it tends to be incubated at 30c, a little cooler compared to most bacteria at 37c.