When your O/D light flashes it means there is a problem somewhere internally with your transmission. It is the same as when your "check engine" light comes on to tell you that something with the engine is malfunctioning. You will need to take it to a shop that can run a diagnostics test to pull the codes and find out the exact problem
If this has helped, please press the "accept" button. Thanks for the question and I hope you get this problem fixed.