I have extreme diarrhea some vomiting and major gas and possibly pregnant what could cause this?

Gastroenteritis. The most common cause is a virus. There are also some other causes, such as food poisoning, colitis, and other infections. If there is blood in your stool, or you become dehydrated, you should see your doctor.