> For the complete documentation index, see [llms.txt](https://iloveics.gitbook.io/icpswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iloveics.gitbook.io/icpswap/products/farm/how-to-use-farm-to-earn-rewards.md).

# How to Use Farm to Earn Rewards?

### How to stake

1. Open the [Farm page](https://app.icpswap.com/farm), select the live position you want to stake.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2F2s29th3HZ9G9EloY2Ysw%2F1.png?alt=media&amp;token=240d16ae-cba3-4e0c-92b9-1695c220369d" alt=""><figcaption></figcaption></figure>

2. Select the position you want to stake, select `Stake`, and then select `Confirm`. If you have't added liquidity position yet, click here to get one(How to [add liquidity position](https://iloveics.gitbook.io/icpswap/products/swap-liquidity/how-to-add-liquidity)?)

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FjhgElpEkveLnLMxb3p9G%2F2.png?alt=media&amp;token=4258edb5-392c-43aa-9da1-8f97594e26fd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FT9Rn6kJqWHh84JhGOwTv%2F2-1.png?alt=media&amp;token=12465596-c4ae-469a-94a5-57f161bc0633" alt=""><figcaption></figcaption></figure>

3. Staked successfully.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FqfAbhIQI4pJxCBe7GPcM%2F3.png?alt=media&amp;token=fb2ba878-0782-48f3-9ff5-6ea241a8a516" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** The data for APR, Your APR, Total Value Staked, and Reward Token is updated every 30 minutes.
{% endhint %}

### How to unstake

1. Locate the `Your Farms` option and select the position you want to unstake.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FyrQrycrylnkXGdwMzSHj%2F01.png?alt=media&amp;token=270fa511-cc26-428f-9ea8-bf7b4d7db46a" alt=""><figcaption></figcaption></figure>

2. Select `Unstake`, and then select `Confirm`.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2F1SMx219MemzeYsIlMnsW%2F02.png?alt=media&amp;token=683c727e-f701-4ada-8a1a-bc682336909a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FkConiS5hx2qXN12kxTGX%2F02-1.png?alt=media&amp;token=e5ce3cb8-087d-4aa0-a27f-2b1ed3302208" alt=""><figcaption></figcaption></figure>

3. Unstaked successfully.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FUOHiL0cQBnuJx6b8lgCn%2F03.png?alt=media&amp;token=bf3cc370-673a-4ec6-82ce-2a9a051ef737" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**: You can unstake your position anytime and receive the rewards directly in your wallet.
{% endhint %}

### How to reclaim

1. If you encounter a failure during staking or unstaking, you can use the reclaim function to retrieve and reclaim your tokens.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FRvLRDFQDy5HlhYNP72F7%2Fre1.png?alt=media&amp;token=427a2a6d-3171-439d-8175-83d8e45e0b4e" alt=""><figcaption></figcaption></figure>

2. Withdraw successfully.

<figure><img src="https://2908727213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mj2H8Qamg5nV5E67YPh%2Fuploads%2FiWlMpiypQaTKakPtwcmL%2Fre2.png?alt=media&amp;token=ce30cf64-e268-4271-b7b9-cb19caf96119" alt=""><figcaption></figcaption></figure>
