Here's some tips that would help greatly if learning to flip.
Tip 1 - It would be nice to have a foampit or a mattress/resi to learn them on.
Tip 2 - If you're about to do a backflip and you don't have a foampit or resi to learn on but you have a mattress, just pretend you know how to backflip and you have the confidence to do one.
Tip 3 - Commit, Commit, Commit.
Tip 4 - Lean your head back trying to look at the sky, pull back with your arms and lean back.
Tip 5 - Spot your landing and don't over rotate