Some challenge rewards are added to your account automatically once the challenge is complete. Others require you to tap the Claim button that appears when the challenge is done.
You can also tap Claim all at the top of the Challenges screen to collect all available rewards at once.
Challenge rewards must be claimed within 30 days. After that they will expire and cannot be recovered. Make sure to check your Challenges tab regularly so you do not miss anything.