I have been using a good grade camera to take pictures of the moon and constantly get pics of a double moon or glares. Is there a specific setting I should be using? What works for everyone else?

Also can I do the same to take pics of planets?