Assignment Freelancing
If you made a haram earning due to lack of knowledge then you can return the money if possible. If it’s not possible to contact your customers then you can give that money in any cause for the benefit of the society or poor individuals. In addition you should sincerely repent to God.