Composing the song began when Tony Kanal was having a fight with Gwen Stefani, who was then his girlfriend, through the bathroom door of his parents' house in Yorba Linda, California. Stefani later changed the lyrics to discuss dealing with her breakup with Kanal.
The song's music video was directed by Sophie Muller. It opens with a scene of the band performing the song in a garage. Stefani's ex-boyfriend (played by Terry Hall, the lead singer of The Specials) walks by the house and sits down on a swing. After the first refrain, Stefani leaves for a grocery store where she buys canned tomatoes, and Kanal begins boilingwater. Adrian Young sets the table outside while the other three band members begin cooking a meal in the kitchen. While chopping the tomatoes, Stefani cuts her finger and begins bleeding. After she rinses her finger, there are several time-edited shots, after which Stefani carries the spaghetti outside to the table. After rinsing her finger Stefani says 'now you're looking like I used to' while Tony Kanal is cleaning the tomato sauce off the floor. This is most likely a reference to one of Stefani's teenage job of scrubbing floors at Dairy Queen. After the group serves each other and begins eating, a food fight ensues. After the music ends, the ex-boyfriend is shown to still be sitting on the swing.