Swearing is generally kept for private settings in Poland, and using strong profanity in public, around elders, or in formal situations is seen as rude and low-class. Among friends it can be common and even playful, but words like
kurwa are still very strong, so a traveler should avoid them unless they clearly hear locals using that tone with each other.