Apartment life can make barking feel urgent, because thin walls, shared hallways and close neighbors mean every bark gets noticed.The first step is finding out what sets your dog off. Hallway footsteps, the elevator, and doors closing nearby are common ones, so keep a log for a week and mark each episode with the time and what you heard.
With that list in hand, you can practice with the most common sounds and plan your day around the hardest times.
The Puppy Protocol toolkit at PawsPurrFection (https://pawspurrfection.com/) covers familiar sounds like these.
Here is a place to start if you want to learn how to stop dog barking in apartment (https://pawspurrfection.com/) living.