Question: how to stop thinking about someone and study?
Answer: So, whenever it is intense, stop everything (Even study) for a few minutes, take a deep breath, close your eyes, think about the day when your study will be the reason to be with him/her. Now open your eyes and also the topic which fascinates you most. Study and understand that very topic, now move on to other.