Is painting a cabinet bad for me and baby ?

Em

I just painted 2 cabinets in our bathroom , I totally forgot this can be harmful . Has anyone else done this? How worries should I be 😖