Nausea b6 unisom

I forgot to take my medicine at night for nausea (b6100mg & unisom) I woke up at 4am and took it does it still have the same affect for the rest of the day?