Army AER Loan Questions?

Typically, how long do you get to pay an AER loan back, and how soon after receiving the loan do you need to make your first payment, & do they take the payments directly from your paycheck or bank account, or can you pay how ever you wish? Thanks in advance for any help