19 weeks & Benadryl

I’m currently 19 weeks & I haven’t been able to sleep at night but I sleep all day :( is Benadryl safe to take? I don’t want to have a hard time sleeping when the baby gets here