Welcome to the MedHelp forum!
Since the pain has passed from the abdomen to penis, chances of a kidney/ureter stone is very high. Also, it's possible that the stone has moved down into the urethra. An X-ray of abdomen will be done first, followed by ultrasound and other detailed tests. Urine routine/microscopic examination too needs to be done.
Apart form this you need to continue your medication. Drink fluids—water, soup, juice etc to help flush out the stone—a small one can get flushed. Please consult an urologist. Take care!