To get the most refund, claim all deductions and credits. Also, contribute to retirement accounts and time your income and expenses.