Notes written below the middle line of a staff usually have their stems going up. The stem for the note B can go up or down. The note B is written on the middle line of the staff.
Notice the two possible directions for the stems of the note B in this example. The stem direction makes no difference to the way the note is played.