There is always a risk involved with traveling outside the United States, however, knowing the proper documents you need to carry with you will help reduce the risk.
If you wish to invite family members or friends to visit you in the United States, they will likely need a tourist visa. You can learn more about what is required here.
If you are planning to travel with an expired visa, you will need to have it renewed while you are outside the United States. You can learn more about what is required here.