If the repayment is $3000 or less, you must deduct this in Schedule A. If you claim the standard deduction expense, you will not be able to claim a right of repayment deduction if you don't have enough other deductions that are over and above the standard deduction amount.
If your repayment amount is over $3000, you can take a credit but it is a complicated process involving downloading the Turbo Tax software. Here is a link describing the step by step process for claiming this credit.