Spoiled Mayo

So someone left the mayo out and my fiancé used it and put it in the fridge 20 minutes later I used it. Shortly after I had pressure near my bladder and my heart began racing I told my man and he's feeling sick too. Can spoiled mayo effect the baby?? So nervous