if it broke near motor mount, use a piece of PVC in there next time
if it broke the seat tube, you can get an old seat post and cut it a bit short, then hammer it down thru tube past the break - now, just drill holes in from the side above and below the break and stick two bolts thru holes - frame will then be stronger than before