How long until you’re not contagious

My MIL is sick and has a fever but she’s planning on taking care of my 2 and a half month old son in a couple of days while I go back to work from maternity leave. Do you think that will still be okay? How long is someone not contagious when they’re sick with a fever? What are your thoughts?