Now i've tried to research what's better mastery build or avoidance and so far i've went with avoidance but for some reason I feel like I take massive spikes of damage and much more fragile than other tanks in flex raids. I realise that that probably is a normal thing for warriors but i would like to ask the more experienced warriors.
Would a mastery build be more benificial for my warrior?
The spikes you're taking are usually because you've just missed something and should have used your rage there for a shield block/barrier and/or a cooldown. Most of them are quite predictable.
Just keep playing and it will get easier because your gear will improve and you'll get a better understanding of the fight mechanics.