guys and periods

So recently my boyfriend found out about my period. It was the first day and came  unexpectedly... He found out and wouldn't let me touch him and moved away from me. He's the only boyfriend that has done this to me what should I do?
Other than this he's been a great guy