you done have to worry about your problem much as it could be because of heavy work out. would suggest you to take it step by step.
include a good source of protein in your diet as proteins are the building block of muscles, add banana also to your diet as it contains potassium it would help further.
show it to your doctor if your problem persists.
and from now on take your exercise step by step and don't hurry. follow proper instructions and proper breathing techniques while working out.
all the best!