The first key is to minimize the number of transactions you are making. You may need to start paying quarterly tax payments that you would have had taken out of a paycheck where you still employed. Your brokerage should be keeping track of these things and you should be able to look up what your current status is in terms of gains or losses for the year.