Peppermint oil

​I have been getting migraines daily since I hit about 12 weeks... I'm now 17 weeks! Does any know if using peppermint oil on your temples will help? I have been told by a few people to try it, but when I googled it, it said pregnant or breast feeding women should not use peppermint oil or drink peppermint tea... Which confuses me as my doctor recommended peppermint tea to help with naseau
​Thanks !