Is cream cheese, heavy whipping cream, ok when your pregnant???!

So confused of what you can or can't eat when pregnant it's been 6 years