https://www.lonelyspeck.com/ has some great easy to understand advice.
Generally..... reasonably wide angle, biggest aperture, longest shutter speed without star trails, stack multiple images for noise reduction.
I use an A7 & 24/1.4 - I've also used a 21/3.5 & a 40/1.2