Hello and thanks for the query
The medication you have being prescribed by your doctor are indicated in palpitations as you have explained. Yes with these medication you will surely get rid from palpitations but you have to take them regularly and even a single missed dose can cause it gain. You have to take these medication regularly if you have diagnosis with AF or PSVT
The doses may be altered sometime less or more according to need or even drug are changed from beta blockers to calcium channel blocker
. But to have to take it life long(if you have heart related palpitation).
If it is due to anxiety
then they can be stopped when your stress
is completely removed.
So keep in touch of your doctor.