When to test (OPK Help)

So my cycle is super irregular due to getting off birth control (Ranges from 20-40 day cycles). I really want to start using OPKs but I don't know what day I should start testing. I don't want to waste a ton of tests because I'm testing too early but I really dont want to miss my surge. When should I start testing?