Giovanni Trapattoni has warned Keiren Westwood he may have to leave Sunderland if he wants to be the Republic of Ireland's first choice goalkeeper.