rocker arms tapping

My brand new engine started and ran fine for about thirty minutes then the rocker arms started tapping soft at first, then hard, now intermitinly. How do I make it stop?