This is more of a question than a health anxiety thing, but I didn't know where else to ask...

I ate some cream before, just a few spoonfuls, but after eating it I smelled the rest of it (still in the package) and it smelled soooo bad....it was definitely off, even though it wasn't past it's use by date.

So the question is, if it's going to make me sick, how long do I have before I either start throwing up and pooping, or I can stop worrying and realise that I don't have food poisioning?