If you mean something like this: http://earthsky.org/space/what-makes-a-halo-around-the-moon then it is caused by thin cirrus clouds which contain little ice crystals. Each crystal refracts the sunlight by the same angle and hence we get a bright ring around the sun. This can happen around the Moon too.
Comments