Breastfeeding

So igot my baby to breastfeed for 2 days at hospital n after she didnt want any so i used formula. Now its been 2 weeks n last night she took a little bit n right now too but then after a couple of mins she makes a face like its nasty n starts crying. Idk what to do i really wanted to breastfeed :(