Dreams about losing loved ones, especially in distressing situations like a haunted house, can often reflect feelings of anxiety, fear, or a sense of loss in waking life. In your case, since these dreams follow the experience of your husband cheating, they might symbolize feelings of betrayal and the fear of losing your family unit.
The haunted house could represent the emotional turmoil you're experiencing—filled with unsettling memories and fears. Your daughter and husband getting lost might indicate your worries about their well-being or your inability to protect them, especially in light of the recent events.
This dream may also highlight your desire to regain control over your family dynamics and your feelings of helplessness in the situation. It could be beneficial to reflect on your feelings and consider discussing them with someone you trust, whether that's a friend or a professional, to help process these emotions. Seeking closure and clarity in your waking life can also help ease the anxiety reflected in your dreams.