Needle like shooting pain in breast....

I am breastfeeding and have been having pain in the nipple - shooting pain like lightning or needle like.

I’ve been doing some research and came about thrush. How would i know it’s that?

Also i am afraid my baby would be infected as well.

when would symptoms show? I don’t have a doctor appointment until 2 weeks :(