Somehow...i dont know how this happened...the inside area of my hand around thumb and first finger is all sore and its hard for me to hold things because of the pain ( example its hard for me to hold a cup)

What should i do?? Should i ice it or put a heat pack on it??

thanks in advance