Welcome to Healthcare Magic
You are probably having disturbed consciousness at that point which can be due to seizure
or syncopal attack. You need to get examined by a Doctor to find out what is causing these attacks and give you proper treatment. Avoid driving if you have this problem and use someone's help when you move around as well.