Many domestic experts and housecleaning professionals use white vinegar as a glass cleaner, soap scum remover, dish washing aid and laundry stain remover. Vinegar is also useful for getting odors and stains out of carpets. Since vinegar has a pungent odor itself, you may find that your carpet has a strong smell if you use vinegar to clean spots on the carpet or if you accidentally spill a little on the floor. If this happens, it's easy to rid your carpet of the vinegar smell
Blot the carpet with a towel if there are any dampened areas from the vinegar.
Open windows and doors in the room if possible.
Turn on a ceiling fan or bring in a portable fan to circulate the air.
Wait and be patient. The smell will dissipate as the vinegar evaporates.