It's hard to say, but at 4mths old - if you haven't changed anything in the diet, and he's had loose bowels for 2 days, a trip to the vet asap would be best bc he needs a fecal test right away. Puppies at this age w/ diarrhea can go down quite fast...
Please keep us posted
!