you can try bitter orange or bitter apple by spraying it where they seem to like to lick. It will not hurt carpents fabrics or walls. It is worth a try. Licking carpets can cause serious medical problems as they lick they are getting the carpet fibers in their stomach and over a period of time can cause problems and some carpets have toxins in them that can be harmful if digested.