In a school context, 重修 = retake a failed class. In a historical/architecture context, = to rebuild or restore. The class sense is the more common modern usage.
mistakes
Don't confuse with 补考 (bǔkǎo) — a make-up exam. 重修 means taking the whole course again.