Dogs especially the smaller breeds of dogs should be taken outside to urinate at least 5 times per day.
Some dogs will let you know by jumping around or whining at the door to let you know they need to go outside to pee or poop.
You should also take your dog out before you go to bed for the night as well.