If a card with flashback is put into your graveyard during your turn, you can cast it if it's legal to do so before any other player can take any actions.

Artwork
Loading artwork…
Wreck and Rebuild
Outlaws of Thunder Junction Commander · #250 · EN
Nonfoil—Foil—
Card rules
Choose one —
• Destroy target artifact or enchantment.
• Mill five cards, then you may put a land card from your graveyard onto the battlefield tapped.
Flashback 3

Uncommon · Illustrated by Ben Hill
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You must still follow any timing restrictions and permissions, including those based on the card's type. For instance, you can cast a sorcery using flashback only when you could normally cast a sorcery.
To determine the total cost of a spell, start with the mana cost or alternative cost (such as a flashback cost) you're paying, add any cost increases, then apply any cost reductions. The mana value of the spell is determined only by its mana cost, no matter what the total cost to cast the spell was.
"Flashback [cost]" means "You may cast this card from your graveyard by paying [cost] rather than paying its mana cost" and "If the flashback cost was paid, exile this card instead of putting it anywhere else any time it would leave the stack."
A spell cast using flashback will always be exiled afterward, whether it resolves, is countered, or leaves the stack in some other way.
You can cast a spell using flashback even if it was somehow put into your graveyard without having been cast.