What are you asking.
dig post holes. cement in 4x4's attach lattice.
Check your city or county regulations first. Polly’s answer about the fenceposts is very important. Lattice will not last for years, but plastic lattice will last longer if you keep it clean. If this will be an enclosure for a dog, I definitely recommend baseboards along the bottom edge of the fence. Also, if you replace a square of lattice with screening so the dog could look out, with a picture frame around the square, the dog would be a better watchdog and happier, too. 😊