how to take pictures of stars?

Amazing picture, cant believe it was taken at 11:30 pm