If a laminate surface starts to peel or lift at an edge, it means that either the glue or the substrate below it has failed.
If the substrate is in poor condition (damp or rotted, for example) you won't be successful trying to glue the laminate back in place. If the substrate is sound, you can usually reglue the laminate using contact cement. Paint both the underside of the laminate and the substrate with a thin coat of contact cement, then allow both to dry until tacky before mating the pieces (follow the manufacturer's directions for application and set-up time).
It's critical to get the glue all the way to the joint where the two materials meet, and to bond them so that no air voids are trapped between the joint and the edge of the laminate.
Contact cement is a strong and aggressive glue-once the cemented pieces touch, you won't be able to pull them apart to realign them. After the pieces are joined, place a weight atop them until the glue dries.