SpongeBob is asleep in his bed, then wakes up and realizes that it is Sunday, and therefore decides to have an ice cream "sundae" for breakfast. However, he sees he has no normal ingredients (ice cream, hot fudge etc.), so he creates a "sundae" made from onions, ketchup, and peanuts from a nearly dead peanut plant he had been growing in his window. The sundae gives SpongeBob halitosis, which he does not realize. After breakfast, SpongeBob begins his Sunday to-do list that consists of saying "hi" to everyone in town. Everyone in town is disgusted by the smell of SpongeBob's breath, and avoids him. He is very confused by this, and asks Patrick if he notices anything wrong with him. Patrick, not having a nose, is unaffected by his foul breath (though his eyes get cracked after the scent hits him). He suggests that maybe everybody hates his laugh, and after a long and very irritating chuckle; SpongeBob flatly asks his friend if he's kidding. Patrick then comes to the conclusion that SpongeBob is ugly, and then does a "Reflection Test". SpongeBob is shocked by this, and isolates himself in his home. Later, Patrick visits SpongeBob, who has now become a hermit. Patrick tells SpongeBob "The Ugly Barnacle" story, somewhat thinking it would help (which, of course, it didn't). Patrick then attempts to teach him to be proud of his ugliness. It works, and SpongeBob's confidence grows, so they go to the cinema (movies/theater). When they go in and sit down, all the fish still avoid SpongeBob. Angered that no one has the nerve to face SpongeBob's so-called ugliness, Patrick goes into a maniacal rage and forces the other viewers to look at SpongeBob. They all panic and run out of the theater, due to SpongeBob's breath. Patrick eventually gets hungry, so they go to get a snack, but no one is at the counter, so SpongeBob gives Patrick some of his sundae. Then Patrick goes to the bathroom. When a guy runs away from Patrick in the bathroom, he thinks he has caught the "ugly" from SpongeBob. SpongeBob smells Patrick's extremely foul breath, and comes to the realization that they are not ugly, and simply have bad breath from the sundae. Afterwards, the two begin to run around shouting "WE STINK!", melting down the movie theater with their corrosive stench. In the last scene, SpongeBob and Patrick run into Squidward, who is looking at wigs in a window display, and SpongeBob says, "Guess what, Squidward? WE STINK!" Squidward looks confused as SpongeBob and Patrick run away laughing.
The Ugly Barnacle story is known as one of Patrick's most famous quotes in the show by fans.
The scene where Fred is seen screaming, "DEUUEAUGH!!!!" has become a MAJOR phenomenon on YouTube. The site includes videos of Fred screaming that for long periods of time, (10 hours, 10 minutes, etc.), and videos of other popular fiction characters imitating the scream. There are also videos of the scream in multiple languages, up to around 15 in a single video.
SpongeBob refers the ketchup by its true pronunciation rather than what it says on the product label ("catsup").
When Patrick holds SpongeBob up and shouts "Look at it!", it has become an internet fad called "Patrick Wants You To Look At It" where a silly, funny or normal object will replace SpongeBob.
After SpongeBob finishes his sundae, he says "You know what they say, Gary...I'm easy like Sunday morning." a reference to the song "Easy" by the Commodores.
In the original TV version, and some re-runs, SpongeBob walks up to a building and says "Hi, building!" which causes the building to flee from SpongeBob's breath. He goes up to Patrick and says "I just don't get it!" and Patrick says "I don't either." In the VHS/DVD releases and the Season 2 DVD release, as well as the YTV version, the scene goes like this:
SpongeBob: (walks up to a building and waves) I just don't get it! (the building flees)
Patrick: (offscreen) I don't, either. (SpongeBob walks up to Patrick; the rest of the scene goes as normal, resulting in the same lines being repeated) (According to the commentary, this was a sound mixing error when the Season 2 DVD was made.)
In the DVD commentary for this episode, they mention that Squidward had a deleted line at the end of the episode. After SpongeBob and Patrick hug him and run away, he would say "Ugly and smelly, two for one."
The giant calendar that SpongeBob is flung into by his bed from Boating School reappears.
Running Gag: The police giving a ticket to destroyed cars,tickets meters,etc. or they destroy it.
MY LEG: The marching band gets irritated with the stench of SpongeBob's mouth after they bump into buildings that they got thrown into.
The scene with SpongeBob playing the organ is a reference to "The Phantom of the Opera."
The Ugly Barnacle might be a reference to The Ugly Duckling.
Breadwinners has an episode with a similar plot about stinky breath.
When Patrick says "SCREEEEAAAAM!," SpongeBob's face is dripping with spit, but it accidentally drips twice.
When SpongeBob talks to the blue woman in the red dress, the fish in the background change colors from blue to greenish, and from green to red, respectively.
When Patrick first saw SpongeBob in his house playing the organ, he had a mask on. After SpongeBob turn around and Patrick lifted him up, his mask was gone even though it wasn't shown when SpongeBob took it off.
When credited as animation director, Edgar Larrazabal's last name is misspelled as "Larrazabla."
At the movies, SpongeBob and Patrick at first sit in the front row. But later, when Patrick lifts SpongeBob, they appear to be in the middle row, not the front.
As Patrick speaks to SpongeBob about how "ugly" he got, he mentions that he doesn't have a sister. However, he does, as seen in "Big Sister Sam."
It's impossible for there to be steam from the Ketchup.