You can take the ACT no more that 12 times.
The College Board recommends that a student takes the SAT no more that two times, as there is no empirical evidence that supports that taking the SAT more than twice improves a student’s score.