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.

Artwork
Loading artwork…
Revenge of the Rats
Foundations · #67 · EN
Nonfoil—Foil—
Card rules
Create a tapped 1/1 black Rat creature token for each creature card in your graveyard.
Flashback 2
(You may cast this card from your graveyard for its flashback cost. Then exile it.)
"The cats are behaving oddly today. Almost like they're all scared of something." —Entry in a heavily chewed journal
Uncommon · Illustrated by Filipe Pagliuso
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You can cast a spell using flashback even if it was somehow put into your graveyard without having been cast.
A spell cast using flashback will always be exiled afterward, whether it resolves, is countered, or leaves the stack in some other way.
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."
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.