Pick Sell in the trade panel and press the 100% button, or use Max where the panel shows it. Then confirm in your wallet. You can also sell in steps with 25% or 50%.
A sell pays the same 2% fee as a buy while the coin is on its curve. A big sell on a thin curve can move the price down a lot, so read the quote first. If the sell fails, try a smaller part.