Can you take ibuprofen and dayquil severe together?

I have a cold. And I took ibuprofen and dayquil about a hour and a half apart. Is that okay or is there any interactions that could happen that y'all know of. I hardly ever take medicine and I get kinda paranoid when I do. So is what I took safe together? Thank you.