If you consume undercooked or raw eggs, then a bacteria called Salmonella present in eggs will enter your gut which can cause vomiting, diarrhea, abdominal cramps, and fever. It may also prove fatal for some people.