Benadryl safety question

Amy • My first pregnancy!
I'm 32 weeks today. My doctor has told me that it's okay it take benadryl, but that was in the second trimester. Is it still okay to take? I cannot breathe out my nose and it's keeping me up all night!