When you enter new write/short options, the proceeds or credit of option premium can be used against only new long/buy option trades on the same trading day. The same applies when you exit your long/buy option positions.