Is an upset stomach a sign of pregnancy?

It could be or a sign of a virus.