If you make a contribution to a Roth IRA, and then discover that your income will exceed the maximum allowed to contribute to a Roth IRA the amount contributed for that year can be re-characterized as a contribution for a Traditional IRA.
If you elect to re-characterize a contribution you must do so by your tax return due date (including extension), using the Roth Conversion & Re-Characterization Request Form