If you have all your exams from that class and did well on them, honestly just at least look over each one and make sure you still remember how to do everything. It's easier to do because it doesn't take long so your brain will be like, "Yeah, we can do that!" and then you should at least do well on the final. For classes where I didn't care too much about my grade as long as it was at least a B, my midterm exams from that class were pretty much my only study material.
If you have all your exams from that class and did well on them, honestly just at least look over each one and make sure you still remember how to do everything. It's easier to do because it doesn't take long so your brain will be like, "Yeah, we can do that!" and then you should at least do well on the final. For classes where I didn't care too much about my grade as long as it was at least a B, my midterm exams from that class were pretty much my only study material.