Please note that law is not meant for harassment. If you are harassed then you may file police complaint against him. You have to know your options beforehand. In the given situation you want revenge with option of not being harmed or penalized in any manner, which may not be possible. Further, please note that there exists several provision in Indian Penal Code which shall make a person liable for punishment up to seven years if false cases are filed.
thanks.