Quick question

I work as a security escort and today I was at a construction sight and they were using torches to burn metal ... couple minutes later my head started to hurt can this affect me or the baby ? Now I’m scared