I didn't know if I attack first, so yeah -.-
You can win if you get Beerus down to a low amount of HP or if the timer runs out and you aren't downed.