Fluorouracil cream is primarily used to treat actinic keratosis, which is a condition characterized by scaly and crusty lesions caused by excessive exposure to sunlight. Additionally, it is used to treat superficial basal cell carcinoma, a type of skin cancer, especially when other treatment methods are not appropriate.