Max30100 bot working with Temp senzor ds18b20

Hi!
I’m facing problems of showing values of the max30100 and ds18b20 temperature sensor at the same time. When I run the code for the sensors for each other,they work perfectly but when I put the code for both of them, all in one code,the values for max30100 are 0,even if the temperature values are showing.
Please help me,I spent a lot of time with it and I need to solve it as soon as possible.
Thanks in advance!

My crystal ball is in the repair shop at the moment, so you will have to show your code and how you wired up your sensors in order to get help with your problems.