3 day period.. HELP !!

hey everyone. On Thursday Ive gotten what I think was the stomach flu. It lasted for 3 days.. On the last day I got my period ? Which was 6 days early ? It lasted for 3 days and on the first two days it was really heavy and on the third day it was gone ??? Help , am I pregnant or whag is going on ???