If the child is still in high school at 18, then you pay support until high school graduation or 19, whichever comes first.
If the child graduates from high school prior to age 18, then you pay support until the child is 18. This should all be in your court order for support.