Ever traded coins on a DEX? If so you know how to do this already.
When using Uniswap, please note that due to low liquidity on Uniswap V3, extra slippage might mean you will not get the best price for your purchase. Please use this Uniswap V2link to perform the token swap using Uniswap.