Use Arrow keys or WASD to move. While moving hold space to sprint. If you hold space but don’t move, your stamina will not increase until you let go. Green bar in the bottom left corner is your stamina bar.