unisom and b6?

Amanda
My doctor mentioned taking unisom and b6 before bed to help with nausea and insomnia. Does anyone else take it? Is it safe to take every night? I skipped last night and slept like crap. But I don't want to over do it.