Hydroxychloroquine is primarily indicated for the treatment and prevention of malaria. However, it is also widely used in the management of autoimmune disorders such as rheumatoid arthritis and systemic lupus erythematosus. It may be prescribed to help control symptoms and prevent flares in these conditions.