Getting angry with my toddler - tips!!!

I'm not here for mum shaming or anything I'm asking for some advice.

I have a two year old and 7 month old. My two year old talks properly and is a happy but moody at times.

She doesn't listen from time to time and it upsets me. I forget she's just turned two as she's very advanced but I need to know a few coping methods.

Usually I ignore her crying etc if it's for a silly reason. But sometimes I get frustrated and raise my voice. Don't worry my children are never ever in harm. What things can help to stop me getting High emotions when she's naughty??