I am not trying to scare you, but these are symptoms that can happen if your appendix is having a problems. It could also be that you are sick and you pulled the muscles near your ribs and appendix. I doubt it's something serious, but if you want to ask your doctor that's okay too. Hope you get better if you have these symptoms. Thx :)