Competing in a beauty pageant almost killed her