I might've made a guy in my class depressed
What makes you feel that you caused a guy in your class to be depressed?
I met him and he told me he's feeling down.
If that's the case, then I think the best thing to do is apologize for how you made him feel.  Hopefully he feels better afterwards!
I'll do that. Thanks for the advice!
Sure thing. Sometimes that person simply knowing that you felt bad about making them feel that way is enough to raise their spirits. It is great that you understand that apologizing is the right move here.