The first piece of advice is not to try to translate. Obviously, phrases with both 'make' and 'do' would translate into French as 'faire'.
Broadly speaking, we use 'make' when we are in some way 'creating' something that wasn't there before - for example, you make a cake. You can also make mess, make a noise or make a complaint.
By contrast, you 'do' something that already exists. For example, you 'do your homework' - the exercise is already there is your book or on your screen, and you just have to 'do' it.
There are some exceptions, and some idiomatic phrases which you just have to learn, but this is a general rule which I hope will help you.