Ohhhh poor baby, yes it is totally okay to use neosporin on dogs, you can also use tripple antibiotic, and basically any anti-itch cream. They also have special anti-itch for gogs in pet stores. Benadryl is good also. The first thought when I read this was some kind of allergic reaction. So the above you can use at home. then I would take her to a vet. tell about the carpet deo. and maybe bring in a steam cleaner with some pet friendly cleaner, like Natures miracle or something. clean my carpets try and get it all up. BUT there are several things she could be allergic to, so it would probably be good to take her to a vet to determin what it is. BUT also if the Benadryl helps it is no rush really, if it helps and you can tell that she is getting much less bothered and it helps you have pretty much figured out what is wrong, then try and solve the things that might cause the problems.
Good Luck and please keep us updated
marit