If someone has attacked you in the dream, then such dream means that you are feeling out of control with your life. Sometimes these kinds of dreams indicate your fear of being actually attacked by someone in your waking life, especially if this person has threatened you before. To be hit could also mean that there are huge changes that are happening in your life and causes lots of stress.
Hit, being (attack) dream meaning
Read more about dreaming of Hit, being (attack) in other dream meanings interpretations.