Help how to fix this weird perspective

while i was creating pim and painting it, i noticed that my perspective suddenly got weird and i cannot click on the top right cube that says front, back, etc, how do i fix this

Out of curiosity…is it in perspective mode?