This situation is referred to as a Claim of Right under IRC Section 1341. It can be claimed as either a miscellaneous deduction or as a credit (if the amount repaid is more than $3000). The deduction is the simpler way to claim your repayment, but a credit might save you more money.
See this answer for directions:
https://ttlc.intuit.com/replies/4980739
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"