I have a hole in my carpet on the edge from where my puppy chewed it. Is there a way to repair or patch the carpet or am I going to have to replace the whole damn room?

Just curious, I am trying to get my house up for sale and I don't have a lot of money to spend to fix this.