Both options look grammatically correct. The options are close in meaning.
I think your choice would depend on the context and how precise you want to be.
For example, if you haven't started your activity, and don't know what to do first, you might use Option A.
Alternatively, if you're already working on a task and you've encountered an unexpected situation, then you might use Option B.