First, choose a small round tip such as a Wilton 10. Make sure the batter is at the proper consistency. It shouldn’t be too thick, a thinner batter will be easier to pipe.
Have the candy ready before you start baking the macarons, so you can quickly place them in the middle of the hearts and not loose a lot of heat from the oven.