1. There is no doubt that you have acted illegally. You should not have taken law in to your hand and reported the indecent behaviour of your cousin's husband with you to the police,
2. You have apologised but the fact is that they have not pardoned you even after you have apologised,
3. However, henceforth do not admit any of your said illegal act to the police or Court,
4. Ask your father to lodge a police complaint against the husband of your cousin for his said illegal act,
5. Take anticipatory bail if FIR is registered against you and contest the case fittingly.