Im confused

I have been having side pain and lower back pain my lower stomach has also been cramping the last couple of days .... today I threw up randomly once right when I woke up but there was nothing but phlem then once again at work I threw up my lunch about 5 minutes after eating it ... How early can experience pregnancy symptoms