Hi - His anal sac may need some attention. Make an appointment with the vet as soon as possible. If it is the anal sac, ask them to show you how to express it. Many times this area fills up with fluids and can get infected.
Some dogs need the sac expressed (squeezed) every 3-4 months. Groomers do this when they wash and cut a dog's coat.
Most likely that is what is happening with your baby...
Good Luck
Marie Of The Doggie Chalet Pooch Hotel
NuVET Plus - The BEST Puppy and Adult Dog Vitamin in the Country.