You must know what has caused the crack before attempting a repair otherwise, you may select an improper repair detail that will simply recrack. For instance, epoxy injection for a crack caused by the omission of negative reinforcing over a beam may just recrack or crack adjacent to the repair. Keep in mind however, that the crack may have relieved any dead load stresses.