The problem with solar power is that it is not a consistent or constant source of power. I.E. The current that solar panel will supply will fluctuate through out the day. As a result it is a good idea (pretty much a necessity) to use a battery as your power source and the solar panel to charge the battery.
And because of the fluctuating power output of the solar panel you will need a solar charge controller that goes between the battery and the solar panel. The solar panel feeds power into the charge controller and the charge controller carefully feeds that power into the battery. The charge controller makes sure that the battery does not get overcharged and many charge controllers also make sure that your load does not over discharge the battery.
So the battery powers your device, the solar panel charges the battery and the charge controller controls the charge and discharge of the battery.
In general, the solar panel needs to have an open voltage of about 18 volts for a 12 volt battery.
The hardest decision will be how large a panel and how big a capacity battery you will need. The answer to that will depend on how many watts your device uses and how many hours of sunlight you get. so you will need to calculate how many watts per day you will use, then you can determine the size of your battery (will it be big enough just for one day or for two or three days in case of rain?). Then you can determine the average amount number of hours of sunlight you get (there are websites that can help) then you can decide on how big a solar panel you need. For example, if you need 100 watts to power your device for an entire day and you get one hour of sunlight per day, you might want a 100 watt panel or even 150 watt panel in case you get a lot of clouds. (this example is extreme, and trying to charge a battery in only one hour would be pushing it, but I used these numbers because they are easy to understand). Also, in this case you would want a battery that can provide 100 watts per day(or maybe a 300 watt battery to account for rainy days, in that case you might want a bigger solar panel also. A 300 watt battery at 12 volts is 25 amp hours(amp hours is usually how these lead acid batteries are reported for capacity).
I am ignoring the fact that you would need a buck converter to get the battery 12 volts down to the voltage of your device.
Hopefully this will get you started. If you have more questions feel free to ask. Good luck!