If you're not used to eating these types of foods it may pose a "shock" to your body and it's trying to rebalance/normalize. These are similar to withdrawals and cleansing or detox symptoms and should pass. Make sure you are eating enough calories and protein and healthy fats (a balanced diet). If it continues, make sure there is nothing you are eating that you are allergic or intolerant of. Stay well hydrated too.