Pls answer quick

Can I use a hair mask after putting in olaplex while I'm waiting to rinse it out? Like is it okay to use them both at the same time? Will they both be effective or will it be useless