Breastfeeding and pumping

ca

Can I breastfeed and pump at the same time?

My hospital told me to pump while my nipple heal...but sometimes i just breastfeed him but i feel like he is not getting enough milk 😔 and if i pump im able to see how much he is drinking. Cuz when i put him my breast he will latch 20-30 minutes and be fuzzy and not sleeping well

He is only 4 days old and idk what to do