Just because you have student loan debt doesn't mean you shouldn't invest in the stock market.

That's the assessment from David Bach, founder of AE Wealth Management and panelist on TheStreet's webinar Investing Strategies for Millennials.

The single biggest thing that's impacting millennials are student loans," said Bach, adding that this debt shouldn't prevent young people from investing in the stock market. "You don't have to pay those student loans off first."

Check out our entire millennial investing roundtable here.