Why am I throwing up after I eat ?

For a few days now, whenever I eat I literally throw the food right up. But the thing is, I haven’t had sex since May and we used protection. What is causing my body to do this ?