Temper tantrums at 5mo

I know it sounds crazy I thought so too. But when I tell her no she is throwing the definition of a temper tantrum throwing her self back screaming because she can't play with this toy or we won't give her whatever we are eating she is sitting up by herself and can pull herself up on furniture and walk that way. How do I stop these temper tantrums?