Dear Sophie: How can students work or launch a startup while maintaining their immigration status?

What options do I have to work before and after graduation on my student visa? Can I launch my own startup?