Rihanna gives advice to fan on how to get over a heartbreak