"Wherefore, he will preserve the righteous by his power, even if it so be that the fulness of his wrath must come, and the righteous be preserved, even unto the destruction of their enemies by fire. Wherefore, the righteous need not fear; for thus saith the prophet, they shall be saved, even if it so be as by fire."
~1 Nephi 22:17
If you are following the Lord's commandments to the best of your ability - if your intentions are good - then the Lord will protect and preserve you. You do not need to be afraid. In these times of darkness and tribulation, it is very easy to be afraid. We need to be careful to not be overrun by fear. The Lord can and will protect us. That does not mean that we will have no trials and no afflictions. It means that as we trust in Him, we will ultimately be okay. We need to be constantly following the Saviour to the best of our ability, even when that may seem - or simply is - really hard. If we are willing to do what He asks, then we have no need to fear, for we will be preserved.