In most sentences, the subject precedes the verb, but some sentences are inverted. For example, sentences beginning with there is and there are put the subject after the verb.
In inverted sentences, change the verb so that it agrees with the subject that follows it, or rewrite the sentence to put the subject (which still must agree with the verb) first.