Not feelin it

I recently went through about a month span of not being myself. Usually i message a friend and me and him mess around but lately I just havent been down for anything. Is it a mental thing or should I talk to my doctor