There are several different types of collars and haters to use when teaching your dog to walk by your side. I’ve always preferred no leash, no collar indoors. For outside, a halter for really small dogs and a collar for larger dogs.
Always start indoors without distraction, a really good treat, and only a few steps to begin with moving up in baby steps to walking indoor without treat by your left side and reward after completing a round through the house.