Academic misconduct allegations that would involve forethought or planning on a student's part will be considered especially egregious by a college or university. Even more so after, say some exchange of benefit, if that other student paid you to help them on their exam, it would be even more egregious yet, but help alone would be a major potential issue.
Any kind of academic misconduct issue is serious. Even something that could be as arguably benign as unintentional plagiarism because a student failed to properly cite is incredibly serious but if you're actually in a situation where you're actively helping another student, the implications can be severe. It can result in suspension or expulsion, especially if the matter is not handled as well as possible. Having an experienced attorney advisor in your corner will be your best ally to help you understand and navigate the process and also in terms of making the best decisions moving forward. They should be involved as early as possible in the case.