Curious bout what's going on

Baby boy gor the past 2 nights has a temp of 99.9 but during the day hes fine but his poop is tar black and solid when he does poop he hasn't had a real poop in 3 days only skid Mark's! What should I do baby is 8 weeks old