2000 ford ranger 4x4 auto

I have been getting hard shifts into 2nd gear and sometimes a flashing OD light?

any help would be great!