Hi Gabriel, if you travel as a tourist (i.e. tourist visa, for U.S. citizens practically visa free). You need to comply with the 90/180 rule. This rule is explained in The Schengen acquis, Title II, C H A P T E R 3, Visas, SECTION 1, Short-stay visas, Article 11, paragraph 1 (a) as follows:
(a) a travel visa valid for one or more entries,
provided that neither the length of a continuous visit
nor the total length of successive visits exceeds three
months in any half-year, from the date of first entry;
The rule also means that leaving Poland (or the Schengen zone) for one night does not help you. The 180 days timeframe in the 90/180 rule is a moving period. You are allowed to spend a maximum of up to 90 days in Poland not in a specific period of 180 days, but in ANY 180 days. You need to apply for a long-term visa or for a residence permin (if you already are in Poland). Enjoy your stay.