Is it safe to take NyQuil after having caffeine?

I had a Pepsi Zero about 3 hours ago, and I didn’t realize it had caffeine (I’m pretty caffeine sensitive). I have a little bit of a cold and I need to sleep because I have work tomorrow. Will I be okay if I take NyQuil?
2 answers 2