Shurpanakha was the daughter of Kaikesi and Vishrava Muni (Vishrava and Raka in Ramopakhyan in Mahabharata) and she was not a woman of pleasant looks. Ravana and his family married her off to Vidhytjhivha, son of Kalaka but later in a battle with Kalkeyas, in warrior frenzy he killed Vidhytjhivha. Shurpanakha lamented the death of her husband in front of her brother and he said he couldn't recognise Vidhytjhivha in warrior frenzy and therefore failed to protect him. He gave his sister many gifts and sent her to Dandakarnya to stay with their cousin Khara.
There she saw Shri Ram and got infatuated. She approached him for love but Shri Ram told her that he was married and a woman like her won't accept a co wife so she should approach his half brother Laxmana who didn't have his wife with him in Jungle. She found Laxmana even more handsome and fascinating but he said that he was in service of Shri Ram so she should approach Shri Ram instead of him. Basically the brothers were jesting with her probably thinking that as a princess Shurpanakha would have some dignity and would either leave or say some harsh words to them but dimwit Shurpanakha thought that that they were rejecting her because of Mata Sita who didn't say a single word to Shurpanakha despite her openly lusting her husband. She tried to attack Mata Sita to kill her and then Shri Ram got furious and said one should never jest with idiots and told Laxmana to punish her. Laxmana cut her nose and ears but didn't kill her as she was a woman. She ran to Khara who along with 14000 soldiers attacked Shri Ram but he single handedly annihilated all of them. Then she went to Ravana and told him what happened and ignited his lust for Mata Sita and the rest is history. The fate of Shurpanakha is not known after that but the women of Lanka blamed Shurpanakha for lusting Raghavas and bringing doom on their Kingdom. Not a single person accused Shri Ram for the war because they knew Ravana and Shurpanakha were at the fault.
Source: Valmiki Ramayana