How long is room temperature food safe to eat?

Those that are pregnant how long is it safe to eat food thats been room temperature? I just wanna make sure I don’t put myself risk of getting sick

Depends on the food. If it’s raw meat or something that is supposed to be refrigerated, then I wouldn’t eat it. If it’s cooked food, up to 2 hours.