If you clear both the sessions of JEE Main (January and April), then the session in which you have scored more marks will be considered by the exam authority.