Tell your doctor if you get any side effect that bothers you or that does not go away while taking modafinil. Some effects of modafinil on the brain are the same as other medicines called âstimulantsâ. These effects may lead to abuse or dependence on modafinil.