Please help. Possible trigger warning

So I’m posting anonymously because of the sensitive question I have. I went over to a guys house and had sex. Then he offered me weed. I took one hit and felt good. Then I don’t remember anything. Like I blacked out and all I remember is waking up to him having sex with me but I don’t remember how that happened. Then blacked out again and came to in another position with him and him saying he came but I’m not sure if he pulled out. Does marijuana make you go in and out like that? I don’t know what happened like how do I just black out? It happened three times but I don’t remember anything in between. Please help.