Hydroxyzine - How long until the symptoms of visteral leave?

This has only happened to me twice (I'm pregnant now) I was on it prn but have been taking every night for ten days to help with sleeping and nausea. Just thinking about having to take this give me severe anxiety! I woke up at about three AM last night and saw a huge spider on the wall. I knew it was not real... So I stared at it for a while befor I turned on the light. I don't plan to take this again and am hoping it does not take this medicine long to get out of my system!