If a glyphosate one (e.g. Roundup) was used then it will be fine to plant herbs.
However, if a stronger weedkiller, such as Woody Weedkiller, has been used then you need to read the label (or the internet) to find out how long you should wait before planting anything.