There was + singular noun
There was a car in the garage.
To form questions, use
Was there a...?
Was there a car in the garage?
Yes, there was. No, there wasn’t.
There were + plural noun
There were a lot of cars in the streets.
Were there any...?
Were there any cars in the streets?
Yes, there were. No there weren’t.