(Inspired by Aave's staking contract)
For staking, unstaking and claiming the rewards, you can refer to the Ethereum Single-side Staking instructions here.
For compounding (i.e. stake the earned interests), you can use the “Stake” button under the Earned section any time (no need to start the cooldown period)