MARGATE, Fla. (CBSMiami) – A Margate family is homeless this Saturday afternoon after their home went up in flames.

The home, located on the 6400 block of Margate Boulevard, is said to be a total loss after the fire tore through it.

READ MORE: Inter Miami CF Unveils 'La Palma' 2021 Secondary Jersey, As Team Gets Ready For 2021 MLS Season

The family tried to fight the fire from the backyard of the home when one of the family members suffered a medical emergency.

“Emotionally, they’re obviously very upset, again the one was treated for a medical condition on scene, related to the fire. They are both okay though,” said Margate-Coconut Creek Fire Battalion Chief Jeff Gary.

Family members were able to get their dogs out of the house, unfortunately, two cats died due to the blaze.

READ MORE: Precautionary Boil Water Notice In Effect For Section Of Victoria Park

According to fire officials, a man was working in the garage when the fire started, but fire investigators don’t yet know the cause of the fire.

But, firefighters said the family could have had a much different outcome because they tried to fight the fire on their own, before calling for help.

“It’s why we always advise people, never try to fight it on your own,” Chief Gary said. “Get out of the residence and let the fire department handle the situation.”

MORE NEWS: Biden's $1.9 Trillion Relief Bill Passes House, But Faces Senate Hurdle

The Red Cross has offered the family temporary shelter while they try to put their lives back together.