If not, you'd better to do this first! Otherwise you are actually not in H1B now that you used your AP. After renewal, you can do whatever as normal!