I am not sure from your question if the entire implant fell out or just the implant crown. In either case, please do not glue anything back on your own. This can lead to further problems and complications. I would recommend saving the implant part that came off till you can see a dentist. Leave the area alone and keep it as clean as you can till you get to your dentist.