There's nothing you will find in your home medicine cabinet to take for a fast heart rate
First, you need a diagnosis. Not all fast heart rates are abnormal or need treatment. Secondly, different classes of medicines are used for different rhythms. Third, there may be a correctable problem so that medication isn't needed at all. 4th, the fast heart rate may be the tip of the iceberg. See your md.