First if you have profit from another stock You can sell another stock at a loss to cove the gains so there no tax’s to pay Also do you know now wash sales work ?