Filagra is used to treat erectile dysfunction (ED) in men, helping them achieve and maintain an erection.