Cat food and puking

So we have a cat that's like 11 or 12months now and when we got her we had her on gluten free dry food indoor food and then we switched to and now she seems to be puking up here an there.