2001 Hyundai Accent

Why does my transmission jerk and have trouble shifting when it is cold but does somewhat better when it warms up. Had a new trnsmission put in 2 years ago