Never use nested loops to make something move! The most important thing is not to break your main loop and execution flow, so that everything always gets updated and drawn.
To manage your bullet, just assign it a velocity and make it move slightly at each new frame according to the time elapsed.