Modafinil may affect the way other medicines work, and other medicines may affect how modafinil works. Your dose of modafinil or certain other medicines may need to be changed. Especially, tell your doctor if you use or take a hormonal birth control method such as: 1  birth control pills. 2  shots.