Short answer
If it was done in forgetfulness or ignorance there is generally no sin, but some actions require compensation (fidya or dam). Ask a scholar or your group leader as soon as possible.
The explanation
Examples: cutting hair or nails, using perfume, covering the head. The compensation differs according to the action: fasting three days, feeding six poor people or sacrificing a sheep. Do not guess; ask a qualified scholar.
For a personal ruling, please consult a qualified scholar. Rules for visas and permits change; confirm current requirements with an advisor.