There is no limit on the number of attempts for DGCA exam. You can appear for any paper as many times as you want until you clear it. However, you should try to clear all the papers as soon as possible, as they are valid for a limited period of time and you may need to renew them periodically.