Should I call my dr??

18 weeks 4 days pregnant and yesterday I had heart palpitations 3 different times but all close together and they lasted for a few seconds but the last one lasted a little longer than the rest did. This is the first time I have had them. So should I call my dr and tell her??