Quarantine shall be enforced by the state, by counties and by incorporated cities and towns in accordance with the provisions of this chapter.