The narrator believes that her best cure would be work, go out into the world (and society), and try to be a mother to her child. Her husband and brother wish to do the opposite: they want to isolate her, keep her away from her child, and prohibit her from working. At the end, when the narrator steps over her husband, she symbolically is moving beyond him.
The Yellow Wallpaper is an early example of feminist work and the writer herself suffered from many of the problems her narrator faces: she wants to write, but men at that time believed (and easily so, because society reenforced the stereotype) that women should be seen and not heard, placed on a pedestal and fawned over. They were weaker, their lives were in the homes, and strain would hurt them and their children.