> For the complete documentation index, see [llms.txt](https://docs.fathom.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fathom.fi/fxd-stablecoin/user-guides/repay-and-close-fxd-position.md).

# Repay and close FXD position

You can use the **Manage Position** functionality to **Repay** and **Close Position.** This may be done to **manage the position risk**.

* Go to Fathom [DApp](https://dapp.fathom.fi/).
* Connect your Web3 wallet (such as [MetaMask](https://metamask.io/)) and make sure your network is set to the intended chain (i.e., [XDC](https://chainlist.org/chain/50)).
* Opened positions are shown in "**Your Positions"**. Click "**Manage Position"** on the position you want to close.

<div data-full-width="true"><figure><img src="/files/Oe18mUBdVXTjrJLIFTNf" alt=""><figcaption></figcaption></figure></div>

* Enter the amount of FXD you would like to repay.
* The amount of collateral that you receive is calculated automatically. If you want to keep some collateral - enter the amount of it.

<figure><img src="/files/U1TtNIOcvqyMyHjgYvX1" alt=""><figcaption></figcaption></figure>

* Click "**Repay this Position**"
  * You may be required to approve the FXD transfer before the actual transfer (depending on the previously approved value).
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
  * Once the transaction has gone through, you'll see your adjusted FXD position in "**Your Positions"** on the same page below "**Available Pools"**. If you take back all collateral, your position will disappear from the list.

<figure><img src="/files/RBgDYoqRG5RiWBM4THk8" alt=""><figcaption></figcaption></figure>
