Is your check engine light on? If so, just get the code pulled at Autozone and let us know what it is.
If you CEL is not on, the wait for your O/D light to flash. Then head over to Autozone, so they can pull the code. Whatever you do, do not turn the car off. If you do, it will erase the code and they will not be able to retrieve it.
What exactly is the car doing anyway? Is it just the O/D light flashing or is the tranny actually doing something, like harsh shifts (before the light comes on), slipping ext.