My backyard has a door. Its hinges attached to a 4"x4" wooden post, then is a smaller fixed wooden panel, and then attached to another 4"x4" wooden post to the brick wall (see picture attached). This 4"x4" post suppose should attached to the brick wall of my house, but I cannot see any nail or screw that do the job. Now, I found the wooden post is leaning outward (may be due to the heavy door) from the brick wall by about 1", and the door is having some problem to open and close now. I need some expert advice, if I want to nailed or screwed the wooden post back to the brick wall, what kind of nail or screw that I should use? and what steps that I should take. Hope someone can help me out on this. Thank you.