We had a terrible weather all week.
We had terrible weather all week.
Weather is an uncountable noun, so do not use a/an before it: ‘Are you having good weather?’
We can use the when talking about the weather at a particular time or place: ‘The weather was terrible yesterday.’