Hi arcadhia,
Welcome to
RP!
The best tutorial I'd found (it's a while so there may be others by now ...) to place an object on a 3D picture is
here ... If you have a picture of the flag and one of the stars, this will help you positioning the stars on the flag in a very realistic way ....
Hope this helps, but don't hesitate to contact me if you still need help.