What gum for attaching pine board to drywall? I pulled out a recessed medicine cabinet. Bought 1/4 pineboard to...

I pulled out a recessed medicine cabinet. Bought 1/4 pineboard to finish the inside.
Want to attach pine board to the spinal column surface first. What type of glue would I use and how do you hold the board tight to the wall while it dries? Attaching to drywall, no means of access to nail.
Answers:    Liquid Nails. Use screw to hold the board while it dries.
solution nails