You do not enter last year's federal refund into this year's return. If you itemized deductions on your 2023 federal return and received a state or local refund then you enter those refunds into 2024. If you used standard deduction for 2023 you do not enter anything about refunds for 2023 into 2024.