A woman was attacked by the same Wigan borough 45-year-old three times in the space of weeks, a court heard.