What the hell is wrong with me

So yesterday I was at the drs office doing something sorry I dont feel like talking about it rn. Anyway I have been married for 3 years but lately my husband has been on his man piriod. He is like a mega dick he dosen't want sex he dosent. All he wants is to fight. And he has been threatening me like if I do something he doesn't like then he will hit me. I always tell him of he hits me I will walk. Back to what I am so confused about. So while I was at the drs office this lady came in to set me up on this thing. And omg she was beautiful. And I am gonna admit we flirted back and forth. Then I went home without getting her name. Probably for the best since I am married. But she made me feel valid and she was beautiful. Idk what's wrong with me because lately all I can think about is her. Ahhhhhhh mabey i need my husband stop being sutch a dick.or I need to tell him something idk what to do. (No mean comments I already feel like garbage about this )