Romeo is walking through the woods or something and is saying to himself "but soft' meaning to tread lightly, keep quiet or something of the like when he spots the window of Juliet.
Edit: He's walking through forbidden territory, the Capulet's premises so he's reminding himself not to be heard.
s
Haha, this definitely happened occasionally when I was still living by myself