Sore nipples

Are very sore nipples (not boobs, only nipples) always a sign of pregnancy or can it be a sign of period too?

(i had sex with condoms so not unprotected)