I ate a product that I bought from the meat-free section but it turned out it had pork in it (meatballs). Do I have to vomit it out? is there any kaffara for this?

Just do astaghfar and be careful next time.