Medicine while nursing

I have been told I need to get on adderall but before I go make an appt I wanted to see if it’s possible to take while nursing. Does anyone know if it’s safe to take?!