@Najee_San You leave it there (there is a skip button if you don't want to leave it) and over time it collects candy for you. After the raid expires, it comes back with the candy.
In your inventory, if you click on your dynamax wooloo it has a recall button, so you can have it back anytime