Deductions & credits

After you have finished entering everything else in your return, try both options and see which gives you the best result.

Generally - but not always - taking the credit yields the best result.