Random question...

I bought a frozen pizza I accidentally left it out over night noticed the next day then froze it again in the freezer . My question is is it ok to eat ?