Coldcuts in pregnancy?

I was advised against eating lunch meats because of the possible listeria problem.. if I microwave it and throw it back into the fridge is it still good?? Like my biggest craving is a ham sandwich but I’m so paranoid and warm ham doesn’t sound appealing to me🙈

Silly question but I don’t know who to ask?