Weird FPS Drops

When I am playing the game I get consistent 300 fps but every few seconds it drops to like 150 then immediately back up to 300. How do I fix this?

Are you using razer software by chance? If so try the following:

Thank you so much! I do use Razer products. My fps has been saved.