Am I pregnant?

I am on the pill, I have Been having unprotected sex my period ended about 5 days ago & 3 days ago I started feeling nauseas and cramping really bad, I also fell bloated the whole day and with no energy. Can I be pregnant or is it just some side effect?