After absorbing water, the foam board will rapidly expand and rebound. Then, you can dry it and wait for it to dry before use.
eBay