This dream is simply about a problem that springs up in your home life. Just like you thought in the dream, you should have the same approach to solving it in real life: just deal with it and correct it.

The fact that it was a weed that had grown through your carpet is an interesting symbol, though. It may be to show you that a "seed" was sown for this problem at some point...and now it's sprouted/grown into the plant you saw. What I'm saying is that this could be something that started in a different season.