Sharp pains in nipples while I’m NOT breastfeeding?

I randomly get wicked sharp stabbing pains or maybe like they are being pinched wicked hard lol in my nipples randomly. It happens when baby cries, if it’s cold, or just when I haven’t fed him in a while. Is this normal? It never happened with my first son. I happens in both at the same time.