How do you repair wallpapper that is coming unglued?

You can buy at any hardware store, glue in a spray can, 3M makes adhesive sprays. You could go even cheaper and mix school glue with cornstarch and thin it with water, use it as a thin paste.