A concrete footing. Even though the concrete hardening (technically known as curing) process begins quickly, you should leave the posts undisturbed for at least two days after pouring the concrete.
When you want an effective fencing choice that's affordable, installing a chain link fence DIY style is a popular option.