And they learn that which harms them and profits them not. And indeed they knew that the buyers of it (black magic) would have no share in the Hereafter. And how bad indeed was that for which they sold themselves, if only they knew.
- Al Baqarah 102
Can the regular 5 daily prayers and being religious protect and cure me from black magic?
Unfortunately no. The prophet Muhammad (pbuh) is the most religious person yet he himself fell victim to black magic and was cured with instructions from angels. If it can happen to him, it obviously can happen to you. However, praying can definitely lessen the effect of black magic.