If ure unsure on latching, I suggest to get a LC to go to your house and teach. I did that for mine! It costs me around $150 per hour if I’m not wrong. Usually 1 hour is enough. After that baby latches fine, and not painful too! In the meantime, to ensure your baby is well fed, u can bottle feed breast milk or formula!
https://sg.theasianparent.com/how-to-increase-breast-milk-supply