The interaction of pre-main-sequence stellar winds with the surrounding medium