One problem that Odysseus faces upon his return to Ithaca is the presence of the suitors who have taken over his palace and are courting his wife, Penelope. Odysseus solves this problem by disguising himself as a beggar and carefully planning his revenge against the suitors. He receives help from his son Telemachus and a loyal swineherd named Eumaeus.
Odysseus' plan involves testing the loyalty of his servants and allies, as well as his wife's faithfulness. He eventually reveals his true identity and engages in a battle with the suitors, killing them all. The consequences of his actions are twofold. First, he restores order and his rightful place as king of Ithaca. Second, his actions lead to the wrath of the suitors' families and allies, which sets the stage for further conflict and challenges for Odysseus and his family.