It is not a mistake to use however at the beginning of sentence. However, some people feel that is. If you want to avoid it, use a semi-colon after the first clause rather than a full-stop.