How to help prevent student loan debt

Talks surrounding student loan forgiveness continue to heat up as the White House confirms President Biden is considering making it reality, but how can students prevent debt?