Deductions & credits

How do we use Capital Gains for charitable donations ?

 

           Thanks,

 

                  Ed