Use screws to reattach the wood trim. Try to find a stud to anchor into (use a stud finder or better still a Walabot).
Search YouTube for. wood screw caps.
https://m.youtube.com/results?search...ood+screw+caps
This will hide the screw heads. You will need to stain and finish the heads when you are done.