There are many ways to defend yourself against Woofie intrusions.
For example, you can build a pillow barricade.
Or you can take a hostage, like the Second Can Opener, aka Human Mommy.*
*It is very important to take the Second Can Opener hostage and not the First. If you take the First Can Opener hostage, you’ll wait a long time for your own dinner, too.