What do i do if my laser head is hitting edges

how to get laser head off the edge of machine and up

That depends, have you calibrated your Y and X axis yet? If you have, just change your bed size. If not, calibrate first or the bed size is meaningless. BTW, did you check skew when you calibrated Y and X?