Best Glue for Pad on Swim Deck

Corners of the pad are starting to come up. Want to glue back down before the season starts. Any opinions on best glue or adhesive to use. Thanks.