A taxpayer in a net capital gain situation should consider selling any capital assets he or she has that have unrealized losses. This will reduce the amount of tax that will be paid on the capital gain income. However, if the taxpayer does not want to get rid of the loss stock permanently, he or she will have to be careful not to buy back any stock sold at a loss within 30 days or the wash sale rules to disallow the loss