3 year old whines non stop

Lately , over the last 2 weeks my 3 year old has began to wine, constantly. He never used to be like this. At first I thought it was just bad days, but those bad days have turned to every day. It’s so bad even just the dog walking too close to him causes him to have a complete breakdown. What do I do about this?