How Do You Stop the Constant Whining?

It’s unbearable.

For context, my pup is reaching 11 months which as we know is an age with many obstacles but he was never a whiner or a crier, up until the last week or so and now it is non-stop.

Before, he would whine in the morning to get out of bed or when he needed something (to go outside and pee for example) now he does it for literally everything he wants, all morning, all evening, all afternoon. He comes in from his walk, sleeps for a bit then immediately starts whining again to get outside. We live in a flat so that just isn’t possible, but of course he hasn’t quite got that memo..

How do you cope with it? I’ve tried ignoring, playing, waiting and seeing if he has any specific needs but it’s driving me completely insane.