It is used for imagining the future - but that future could be the immediate future. Your sentence makes no sense. You are saying 'if I do X I won't do X'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.